Node QML Type
The base component for an object that exists in a 3D Scene. More...
Import Statement: | import QtQuick3D 1.0 |
Inherits: | |
Inherited By: | Camera, Loader3D, Model, and Repeater3D |
Properties
- boneId : int
- forward : vector3d
- globalTransform : matrix4x4
- opacity : float
- orientation : enumeration
- pivot : vector3d
- position : vector3d
- right : vector3d
- rotation : vector3d
- rotationOrder : enumeration
- scale : vector3d
- scenePosition : vector3d
- sceneRotation : vector3d
- sceneScale : vector3d
- up : vector3d
- visible : bool
- x : float
- y : float
- z : float
Detailed Description
Property Documentation
boneId : int |
This property contains the skeletonID used for skeletal animations
Note: This property currently has no effect, since skeletal animations are not implimented.
forward : vector3d |
This property returns a normalized vector of the nodes forward direction in scene space.
See also up(), right(), and mapDirectionToScene().
globalTransform : matrix4x4 |
This property returns the global transform matrix for this node.
Note: the return value will be LeftHanded or RightHanded depending on orientation().
See also globalTransformRightHanded().
This property contains the local opacity value of the Node. Since Node objects are not necessarialy visible, this value might not have any affect, but this value is inherited by all children of the Node, which might be visible.
orientation : enumeration |
This property defines whether the Node is using a RightHanded or Lefthanded coordinate system.
pivot : vector3d |
This property contains the pivot values for the x, y, and z axis. These values are used as the pivot points when applying rotations to the node.
position : vector3d |
This property contains the position translation in local coordinate space.
See also QtQuick3D::Node::x, QtQuick3D::Node::y, and QtQuick3D::Node::z.
right : vector3d |
This property returns a normalized vector of the nodes right direction in scene space.
See also forward(), up(), and mapDirectionToScene().
rotation : vector3d |
This property contains the rotation values for the x, y, and z axis. These values are stored as euler angles.
rotationOrder : enumeration |
This property defines in what order the Node::rotation properties components are applied in.
scale : vector3d |
This property contains the scale values for the x, y, and z axis.
scenePosition : vector3d |
This property returns the position of the node in scene space.
Note: This is sometimes also reffered to as the global position. But then in the meaning "global in the 3D world", and not "global to the screen or desktop" (which is usually the interpretation in other Qt APIs).
Note: the position will be reported in the same orientation as the node.
See also mapPositionToScene().
sceneRotation : vector3d |
This property returns the rotation of the node in scene space.
sceneScale : vector3d |
This property returns the scale of the node in scene space.
up : vector3d |
This property returns a normalized vector of the nodes up direction in scene space.
See also forward(), right(), and mapDirectionToScene().
visible : bool |
When this property is true, the Node (and its children) can be visible.
This property contains the x value of the position translation in local coordinate space.
See also QtQuick3D::Node::position.
This property contains the y value of the position translation in local coordinate space.
See also QtQuick3D::Node::position.
This property contains the z value of the position translation in local coordinate space.
See also QtQuick3D::Node::position.