Flutter3DController class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onModelLoaded
↔ ValueNotifier<
bool> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getAvailableAnimations(
) → Future< List< String> > - It will return available animations list of 3D model as List<String>
-
getAvailableTextures(
) → Future< List< String> > - It will return available 3D models texture as List<String>
-
init(
IFlutter3DRepository repository) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pauseAnimation(
) → void - Causes animations to be paused at current frame.
-
playAnimation(
{String? animationName, int loopCount = 0}) → void - Causes animations to be played, Can be use to switch animations as well. If animationName is null and model has at list one animation, it will play first model's animation If animationName passed and not null it will play specific animation.
-
resetAnimation(
) → void - Causes animation to be played from first frame
-
resetCameraOrbit(
) → void - Causes camera target reset to default value
-
resetCameraTarget(
) → void - Causes camera orbit reset to default value
-
setCameraOrbit(
double theta, double phi, double radius) → void - It will change camera orbit
-
setCameraTarget(
double x, double y, double z) → void - It will change camera target
-
setTexture(
{required String textureName}) → void - It will change Texture of 3D model Can be used to load desire Texture of 3D model
-
stopAnimation(
) → void - Causes animation to be stopped
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited