NodeData class final

A node of the model's tree.

Constructors

NodeData({required String? name, required Matrix4 local, required List<int> children, int? mesh, int? skin, int? light, Vector3? translation, Quaternion? rotation, Vector3? scale})
A node with its local transform.

Properties

children → List<int>
Child node indices.
final
hashCode → int
The hash code for this object.
no setterinherited
light → int?
Light index (KHR_lights_punctual).
final
local → Matrix4
Transform relative to its parent.
final
mesh → int?
Mesh index.
final
name → String?
Name in the file.
final
rotation → Quaternion?
See translation.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scale → Vector3?
See translation.
final
skin → int?
Skin index.
final
translation → Vector3?
The rest pose's translation, rotation and scale, when the file gave them (an animated node always does); null for a node given as a matrix, which can't be animated.
final

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