ARKitNode class

ARKitNode is the model class for node-tree objects. It encapsulates the position, rotations, and other transforms of a node, which define a coordinate system. The coordinate systems of all the sub-nodes are relative to the one of their parent node.

Implementers

Constructors

ARKitNode({ARKitGeometry? geometry, ARKitPhysicsBody? physicsBody, ARKitLight? light, int renderingOrder = defaultRenderingOrderValue, bool isHidden = defaultIsHiddenValue, Vector3? position, Vector3? scale, Vector4? rotation, Vector3? eulerAngles, String? name, Matrix4? transformation})

Properties

eulerAngles ↔ Vector3
Determines the receiver's euler angles. The order of components in this vector matches the axes of rotation:
getter/setter pair
geometry ARKitGeometry?
Returns the geometry attached to the receiver.
final
hashCode int
The hash code for this object.
no setterinherited
isHidden ValueNotifier<bool>
Determines the visibility of the node’s contents. Defaults to false.
final
light ARKitLight?
Determines the light attached to the receiver.
final
name String
Determines the name of the receiver. Will be autogenerated if not defined.
final
physicsBody ARKitPhysicsBody?
The description of the physics body of the receiver.
final
position ↔ Vector3
Determines the receiver's position.
getter/setter pair
renderingOrder int
Determines the rendering order of the receiver. Nodes with greater rendering orders are rendered last. Defaults to 0.
final
rotation ↔ Matrix3
Determines the receiver's rotation.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale ↔ Vector3
Determines the receiver's scale.
getter/setter pair
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 pair
transformNotifier ValueNotifier<Matrix4>
final

Methods

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

Operators

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