AnimationObjectGroup class
A group of objects that receives a shared animation state.
Usage:
-
Add objects you would otherwise pass as 'root' to the constructor or the .clipAction method of AnimationMixer.
-
Instead pass this object as 'root'.
-
You can also add and remove objects later when the mixer is running.
Note:
Objects of this class appear as one object to the mixer, so cache control of the individual objects must be done on the group.
Limitation:
-
The animated properties must be compatible among the all objects in the group.
-
A single property can either be controlled through a target group or directly, but not both.
Constructors
-
AnimationObjectGroup(List<
Mesh> ? items)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAnimationObjectGroup ↔ bool
-
getter/setter pair
- nCachedObjects_ ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uuid ↔ String
-
getter/setter pair
Methods
-
add(
List< Mesh> items) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
List< Mesh> items) → dynamic -
subscribe_(
dynamic path, dynamic parsedPath) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
-
uncache(
List< Mesh> items) → dynamic -
unsubscribe_(
dynamic path) → dynamic
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited