FixOrthoZoomConstraint - Verge3D User Manual - Soft8Soft
Description: Learn how to use FixOrthoZoomConstraint in your interactive 3D apps made with Verge3D

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

## Source

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