Contact Support

ClippingConstraint

This node adjusts the camera's near and far clipping planes to fit just in front of and behind the target (along the axis from the camera). You can view the results of the ClippingConstraint node by turning on Scenegraph Implicit Resolvers at the top.

Connection Type

Connection Name

Function

Input

input

The place in the node graph where you want to constrain the camera's clipping planes.

 

Control (UI)

Default Value

Function

basePath

N/A

Describes the scene graph location of the object to constrain. The basePath parameter options are available in either the scene graph widget or dropdown menu to the right of the parameter.

For more information, refer to the Scene Graph Location Widget Type in the Common Parameter Widgets.

targetPath

N/A

Describes the object(s) location to which the basePath object is constrained. The targetPath parameter options are available by clicking Add Locations or dropdown menu.

For more information, refer to the Scene Graph Location and Locations Widget Types in Common Parameter Widgets.

pad

near

0

Sets the amount of space to leave between the nearest extent of the target and the camera's near clipping plane.

far

0

Sets the amount of space to leave between the farthest extent of the target and the camera's far clipping plane.

ClippingConstraint parameters continued

respectMotionBlur

Yes

When set to Yes, constraints are adjusted to allow for the target's motion within the time the shutter is open.

allowMissingTargets

No

When set to Yes, silently ignore the constraint if its target is not in the scene graph.

When set to No, produce an error on constraint resolution if the target is missing.

addToConstraintList

No

Adds base path to globals.constraintList at /root/world.

This is only needed for cases in which one constraint depends on another constraint already being evaluated. The globals.constraintList is used to specify the order of evaluation of constraints.

setRelativeargets

No

Stores target paths in the scene graph constraint definition as paths relative to the base path.

Targets should still be specified as absolute paths in this node's parameters.