Contains property types of Constraints.
More...
#include <kanzi/core.ui/constraints/constraint.hpp>
Contains property types of Constraints.
◆ FaceToCameraMode
Specifies the options for setting a 3D node to turn towards a camera.
- Since
- Kanzi 3.9.4
Enumerator |
---|
Disabled | Does not make the node turn towards the camera.
|
LookAt | Rotates the node along all axes to turn towards the camera.
|
Billboard | Keeps the node perpendicular to the camera field of view.
|
Cylindrical | Rotates the node along the y axis to turn towards the camera.
|
◆ makeEditorInfo()
◆ isInWorldCoordinates()
static bool kanzi::Constraints::isInWorldCoordinates |
( |
const Object & |
object | ) |
|
|
inlinestatic |
Gets the value of InWorldCoordinates property of object.
- Parameters
-
- Returns
- Returns value of the InWorldCoordinates property.
◆ setInWorldCoordinates()
static void kanzi::Constraints::setInWorldCoordinates |
( |
Object & |
object, |
|
|
bool |
value |
|
) |
| |
|
inlinestatic |
Sets the value of InWorldCoordinates property of object.
- Parameters
-
object | An object. |
value | Value of InWorldCoordinatesColor property. |
◆ getFaceToCameraMode()
◆ setFaceToCameraMode()
◆ createPositionBinding()
Creates a binding for position constraint.
- Parameters
-
domain | Domain to use. |
targetRelativePath | Path to target node to track. |
- Returns
- Binding to add to the node with the constraint.
◆ createOrientationBinding()
Creates a binding for orientation constraint.
- Parameters
-
domain | Domain to use. |
targetRelativePath | Path to target node to track. |
- Returns
- Binding to add to the node with the constraint.
◆ createLookAtBinding()
Creates a binding for look at -constraint.
- Parameters
-
domain | Domain to use. |
targetRelativePath | Path to target node to track. |
- Returns
- Binding to add to the node with the constraint.
◆ createReversedLookAtBinding()
Creates a binding for reversed look at -constraint.
- Parameters
-
domain | Domain to use. |
targetRelativePath | Path to target node to track. |
- Returns
- Binding to add to the node with the constraint.
◆ createReversedCylindricalLookAtBinding()
Creates a binding for cylindrical look at -constraint.
- Parameters
-
domain | Domain to use. |
targetRelativePath | Path to target node to track. |
- Returns
- Binding to add to the node with the constraint.
◆ createLocalPositionBinding()
Creates a binding for local position constraint.
- Parameters
-
domain | Domain to use. |
targetRelativePath | Path to target node to track. |
- Returns
- Binding to add to the node with the constraint.
◆ createLocalOrientationBinding()
Creates a binding for local orientation constraint.
- Parameters
-
domain | Domain to use. |
targetRelativePath | Path to target node to track. |
- Returns
- Binding to add to the node with the constraint.
◆ PositionProperty
Position property.
The default value is "".
- See also
- setPosition(), getPosition()
◆ OrientationProperty
PropertyType<string> kanzi::Constraints::OrientationProperty |
|
static |
Orientation property.
The default value is "".
- See also
- setOrientation(), getOrientation()
◆ InWorldCoordinatesProperty
PropertyType<bool> kanzi::Constraints::InWorldCoordinatesProperty |
|
static |
◆ FaceToCameraModeProperty
◆ FaceToCameraTargetCameraProperty
PropertyType<string> kanzi::Constraints::FaceToCameraTargetCameraProperty |
|
static |
FaceToCameraTargetCamera property.
The default value is "".
- See also
- setFaceToCameraTargetCamera(), getFaceToCameraTargetCamera()
◆ LookAtProperty
LookAt property.
The default value is "".
- See also
- setLookAt(), getLookAt()
The documentation for this class was generated from the following file: