Contains property types of Constraints.
More...
#include <kanzi/core.ui/constraints/constraint.hpp>
Contains property types of Constraints.
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.
|
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.
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. |
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.
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.
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.
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.
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.
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.
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.
Position property.
The default value is "".
- See also
- setPosition(), getPosition()
PropertyType<string> kanzi::Constraints::OrientationProperty |
|
static |
Orientation property.
The default value is "".
- See also
- setOrientation(), getOrientation()
PropertyType<bool> kanzi::Constraints::InWorldCoordinatesProperty |
|
static |
PropertyType<string> kanzi::Constraints::FaceToCameraTargetCameraProperty |
|
static |
FaceToCameraTargetCamera property.
The default value is "".
- See also
- setFaceToCameraTargetCamera(), getFaceToCameraTargetCamera()
LookAt property.
The default value is "".
- See also
- setLookAt(), getLookAt()
The documentation for this class was generated from the following file: