ModelNodeOverride class
Overrides a node of a 3D model. @see The online documentation
Constructors
-
ModelNodeOverride({required String name, List<
double?> ? orientation})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String
-
The node name to override.
getter/setter pair
-
orientation
↔ List<
double?> ? -
Override the orientation of the model node in euler angles
x, y, z. Default value:0,0,0. The unit of orientation is in degrees.getter/setter pair - 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
-
toJson(
) → Map< String, dynamic> - Converts this ModelNodeOverride to its JSON representation, keyed by name.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
String name, Map< String, dynamic> json) → ModelNodeOverride - Creates a ModelNodeOverride from its name and a decoded JSON object.