TargetConstraint

FixOrthoZoomConstraint

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

To influence some object, push a FixOrthoZoomConstraint instance into the Object3D.constraints array.

Constructor

FixOrthoZoomConstraint(target : OrthographicCamera)

target — constraint's target object.

Properties

See the base TargetConstraint class for common properties.

.isFixOrthoZoomConstraint : Boolean

Read-only flag to check if a given object is of type FixOrthoZoomConstraint.

.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.