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.new(List<Mesh>? items)
items - an arbitrary number of meshes that share the same animation state.

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
stats Map<String, dynamic>
getter/setter pair
uuid String
getter/setter pair

Methods

add(List<Mesh> items) → void
Adds an arbitrary number of objects to this AnimationObjectGroup.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(List<Mesh> items) → void
Removes an arbitrary number of objects from this AnimationObjectGroup.
subscribe_(String path, dynamic parsedPath) List<PropertyBinding?>
toString() String
A string representation of this object.
inherited
uncache(List<Mesh> items) → void
Deallocates all memory resources for the passed objects of this AnimationObjectGroup.
unsubscribe_(dynamic path) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited