Class ConstraintsMetadata

Defines properties and message types for Constraints.

Property Types

See also PropertyType
ConstraintsMetadata.ConstraintPositionProperty

Makes an object node where the property is attached to obtain position from target object

ConstraintsMetadata.ConstraintOrientationProperty

Makes an object node where the property is attached to obtain orientation from target object

ConstraintsMetadata.ConstraintInWorldCoordinatesProperty

Specifies if the object constraining is done in world coordinates (when false, done in local coordinates).

ConstraintsMetadata.FaceToCameraModeProperty

Sets how to rotate the 3D node towards a camera:

  • Disabled does not make the node turn to the camera.
  • Look at rotates the node along all axes to turn to the camera.
  • Billboarding keeps the node perpendicular to the camera FOV.
  • Cylindrical rotates the node along the y axis to turn to the camera.

By default, the node turns to the Scene default camera. To use a different camera, set the Face to Camera Target Camera property.

ConstraintsMetadata.FaceToCameraTargetCameraProperty

Sets the camera towards which the 3D node turns when you set the Face to Camera Mode property. The default is the Scene default camera.

ConstraintsMetadata.LookAtProperty

Makes a node to always face the node set in this property.

Message Types

See also MessageType

Message Arguments

Message arguments classes define message arguments used for different message types. Each class defines a number of property types - arguments - together with getter and setter functions for them.