ARKitReferenceNode class

Node that references an external serialized node graph.

Inheritance

Constructors

ARKitReferenceNode({required String url, ARKitPhysicsBody? physicsBody, ARKitLight? light, Vector3? position, Vector3? scale, Vector3? eulerAngles, String? name, int renderingOrder = defaultRenderingOrderValue, bool isHidden = defaultIsHiddenValue})

Properties

eulerAngles ↔ Vector3
Determines the receiver's euler angles. The order of components in this vector matches the axes of rotation:
getter/setter pairinherited
geometry ARKitGeometry?
Returns the geometry attached to the receiver.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isHidden ValueNotifier<bool>
Determines the visibility of the node’s contents. Defaults to false.
finalinherited
light ARKitLight?
Determines the light attached to the receiver.
finalinherited
name String
Determines the name of the receiver. Will be autogenerated if not defined.
finalinherited
physicsBody ARKitPhysicsBody?
The description of the physics body of the receiver.
finalinherited
position ↔ Vector3
Determines the receiver's position.
getter/setter pairinherited
renderingOrder int
Determines the rendering order of the receiver. Nodes with greater rendering orders are rendered last. Defaults to 0.
finalinherited
rotation ↔ Matrix3
Determines the receiver's rotation.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale ↔ Vector3
Determines the receiver's scale.
getter/setter pairinherited
transform Matrix4
Determines the receiver's transform. The transform is the combination of the position, rotation and scale defined below. So when the transform is set, the receiver's position, rotation and scale are changed to match the new transform.
getter/setter pairinherited
transformNotifier ValueNotifier<Matrix4>
finalinherited
url String
URL location of the Node Defaults to path from Main Bundle If path from main bundle fails, will search as full file path
final

Methods

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

Operators

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