Node.SetRestraint (Boolean, Boolean, Double, Double) Method

Sets a 2D restraint.
Public Sub SetRestraint( _ 
ByVal inX As Boolean, _ 
ByVal inY As Boolean, _ 
Optional ByVal amountInX As Double = 0, _ 
Optional ByVal amountInY As Double = 0 _ 
)
This language is not supported or no code example is available.
public void SetRestraint( 
bool inX
bool inY
double amountInX = 0, 
double amountInY = 0 
)
This language is not supported or no code example is available.

Parameters

inX
bool

True if the X direction is restrained

inY
bool

True if the Y direction is restrained

amountInX
double

Displacement along X

amountInY
double

Displacement along Y

.NET Framework

Supported in: 4.8

In this article

Definition