kanzi::Constraints Class Reference

Contains property types of Constraints. More...

#include <kanzi/core.ui/constraints/constraints.hpp>

Static Public Member Functions

static PropertyTypeEditorInfoSharedPtr makeEditorInfo ()
 
static bool isInWorldCoordinates (const Object &object)
 Gets the value of InWorldCoordinates property of object. More...
 
static void setInWorldCoordinates (Object &object, bool value)
 Sets the value of InWorldCoordinates property of object. More...
 
static bool isFaceToCamera (const Object &object)
 Gets the value of FaceToCamera property of object. More...
 
static void setFaceToCamera (Object &object, bool value)
 Sets the value of FaceToCamera property of object. More...
 
static bool isFaceToCameraBillboarding (const Object &object)
 Gets the value of FaceToCameraIsBillboarding property of object. More...
 
static void setFaceToCameraIsBillboarding (Object &object, bool value)
 Sets the value of FaceToCameraIsBillboarding property of object. More...
 
static bool isFaceToCameraCylindral (const Object &object)
 Gets the value of FaceToCameraIsCylindral property of object. More...
 
static void setFaceToCameraIsCylindral (Object &object, bool value)
 Sets the value of FaceToCameraIsCylindral property of object. More...
 
static BindingSharedPtr createPositionBinding (Domain *domain, string_view targetRelativePath)
 
static BindingSharedPtr createOrientationBinding (Domain *domain, string_view targetRelativePath)
 
static BindingSharedPtr createLookAtBinding (Domain *domain, string_view targetRelativePath)
 
static BindingSharedPtr createReversedLookAtBinding (Domain *domain, string_view targetRelativePath)
 
static BindingSharedPtr createReversedCylindricalLookAtBinding (Domain *domain, string_view targetRelativePath)
 
static BindingSharedPtr createLocalPositionBinding (Domain *domain, string_view targetRelativePath)
 
static BindingSharedPtr createLocalOrientationBinding (Domain *domain, string_view targetRelativePath)
 

Static Public Attributes

Properties
static PropertyType< string > PositionProperty
 Position property. More...
 
static PropertyType< string > OrientationProperty
 Orientation property. More...
 
static PropertyType< bool > InWorldCoordinatesProperty
 InWorldCoordinates property. More...
 
static PropertyType< bool > FaceToCameraProperty
 FaceToCamera property. More...
 
static PropertyType< bool > FaceToCameraIsBillboardingProperty
 FaceToCameraIsBillboarding property. More...
 
static PropertyType< bool > FaceToCameraCylindralProperty
 FaceToCameraCylindral property. More...
 
static PropertyType< string > FaceToCameraTargetCameraProperty
 FaceToCameraTargetCamera property. More...
 
static PropertyType< string > LookAtProperty
 LookAt property. More...
 

Detailed Description

Contains property types of Constraints.

Member Function Documentation

static PropertyTypeEditorInfoSharedPtr kanzi::Constraints::makeEditorInfo ( )
static
static bool kanzi::Constraints::isInWorldCoordinates ( const Object object)
inlinestatic

Gets the value of InWorldCoordinates property of object.

Parameters
objectAn object.
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
objectAn object.
valueValue of InWorldCoordinatesColor property.
static bool kanzi::Constraints::isFaceToCamera ( const Object object)
inlinestatic

Gets the value of FaceToCamera property of object.

Parameters
objectAn object.
Returns
Returns value of the FaceToCamera property.
static void kanzi::Constraints::setFaceToCamera ( Object object,
bool  value 
)
inlinestatic

Sets the value of FaceToCamera property of object.

Parameters
objectAn object.
valueValue of FaceToCameraColor property.
static bool kanzi::Constraints::isFaceToCameraBillboarding ( const Object object)
inlinestatic

Gets the value of FaceToCameraIsBillboarding property of object.

Parameters
objectAn object.
Returns
Returns value of the FaceToCameraIsBillboarding property.
static void kanzi::Constraints::setFaceToCameraIsBillboarding ( Object object,
bool  value 
)
inlinestatic

Sets the value of FaceToCameraIsBillboarding property of object.

Parameters
objectAn object.
valueValue of FaceToCameraIsBillboardingColor property.
static bool kanzi::Constraints::isFaceToCameraCylindral ( const Object object)
inlinestatic

Gets the value of FaceToCameraIsCylindral property of object.

Parameters
objectAn object.
Returns
Returns value of the FaceToCameraIsCylindral property.
static void kanzi::Constraints::setFaceToCameraIsCylindral ( Object object,
bool  value 
)
inlinestatic

Sets the value of FaceToCameraIsCylindral property of object.

Parameters
objectAn object.
valueValue of FaceToCameraIsCylindralColor property.
static BindingSharedPtr kanzi::Constraints::createPositionBinding ( Domain domain,
string_view  targetRelativePath 
)
static
static BindingSharedPtr kanzi::Constraints::createOrientationBinding ( Domain domain,
string_view  targetRelativePath 
)
static
static BindingSharedPtr kanzi::Constraints::createLookAtBinding ( Domain domain,
string_view  targetRelativePath 
)
static
static BindingSharedPtr kanzi::Constraints::createReversedLookAtBinding ( Domain domain,
string_view  targetRelativePath 
)
static
static BindingSharedPtr kanzi::Constraints::createReversedCylindricalLookAtBinding ( Domain domain,
string_view  targetRelativePath 
)
static
static BindingSharedPtr kanzi::Constraints::createLocalPositionBinding ( Domain domain,
string_view  targetRelativePath 
)
static
static BindingSharedPtr kanzi::Constraints::createLocalOrientationBinding ( Domain domain,
string_view  targetRelativePath 
)
static

Member Data Documentation

PropertyType<string> kanzi::Constraints::PositionProperty
static

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

InWorldCoordinates property.

The default value is false.

See also
setInWorldCoordinates(), isInWorldCoordinates()
PropertyType<bool> kanzi::Constraints::FaceToCameraProperty
static

FaceToCamera property.

The default value is false.

See also
setFaceToCamera(), isFaceToCamera()
PropertyType<bool> kanzi::Constraints::FaceToCameraIsBillboardingProperty
static

FaceToCameraIsBillboarding property.

The default value is true.

See also
setFaceToCameraIsBillboarding(), isFaceToCameraIsBillboarding()
PropertyType<bool> kanzi::Constraints::FaceToCameraCylindralProperty
static

FaceToCameraCylindral property.

The default value is false.

See also
setFaceToCameraCylindral(), isFaceToCameraCylindral()
PropertyType<string> kanzi::Constraints::FaceToCameraTargetCameraProperty
static

FaceToCameraTargetCamera property.

The default value is "".

See also
setFaceToCameraTargetCamera(), getFaceToCameraTargetCamera()
PropertyType<string> kanzi::Constraints::LookAtProperty
static

LookAt property.

The default value is "".

See also
setLookAt(), getLookAt()

The documentation for this class was generated from the following file: