Node QML Type

The base component for an object that exists in a 3D Scene. More...

Import Statement: import QtQuick3D 1.0
Inherits:

Object3D

Inherited By:

Camera, Loader3D, Model, and Repeater3D

Properties

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().


opacity : float

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.


x : float

This property contains the x value of the position translation in local coordinate space.

See also QtQuick3D::Node::position.


y : float

This property contains the y value of the position translation in local coordinate space.

See also QtQuick3D::Node::position.


z : float

This property contains the z value of the position translation in local coordinate space.

See also QtQuick3D::Node::position.