MorphTarget class

A plain JSON object specifying attributes displacements in a morph target, where:

  • each key corresponds to one of the three supported attribute semantic (POSITION, NORMAL, or TANGENT); and
  • each value is the index of the accessor containing the attribute displacements' data.
Inheritance

Constructors

MorphTarget.new({required GltfRoot root, required Map<MorphTargetType, GltfRef<RawAccessor>> attributes})
MorphTarget.parse(GltfRoot root, Map<String, Object?> map)

Properties

attributes Map<MorphTargetType, GltfRef<RawAccessor>>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
root GltfRoot
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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