TargetConstraint

FixOrthoZoomConstraint

A constraint makes your ortho camera properly work with objects parented to it, so that they don’t move when the user zooms the camera.

Constraints are used to set up various relations between objects by affecting their position, rotation and scale. Can be used with the Object3D.constraints property.

Constructor

FixOrthoZoomConstraint(target : OrthographicCamera)

target — constraint's target object.

Properties

See the base TargetConstraint class for common properties.

.isFixOrthoZoomConstraint : Boolean

Used to check whether this or derived classes are fix ortho zoom constraints. Default is true.

.type : String

The constraint's type. Equals to 'FixOrthoZoomConstraint'.

Methods

See the base TargetConstraint class for common methods.

Source

For more info on how to obtain the source code of this module see this page.