StrixUnitySDK API Reference
StrixUnitySDK API Reference
SoftGear.Strix Namespaces
SoftGear.Strix.Client Namespaces
SoftGear.Strix.Client.Ingame.Interpolation
Vector3 Structure
Vector3 Methods
Abs Method
Add Method
Clamp Method
CopyTo Method
Cross Method
Distance Method
DistanceSquared Method
Divide Method
Dot Method
Equals Method
GetHashCode Method
Length Method
LengthSquared Method
Lerp Method
Max Method
Min Method
Multiply Method
Negate Method
Normalize Method
NormalizeSafe Method
Reflect Method
SquareRoot Method
Subtract Method
ToString Method
Vector3
Clamp Method
Restricts a vector between a min and max value.
Namespace:
SoftGear.Strix.Client.Ingame.Interpolation
Assembly:
strix-client-csharp-ingame (in strix-client-csharp-ingame.dll) Version: 2.3.0
Syntax
C#
Copy
public
static
Vector3
Clamp
(
Vector3
value1
,
Vector3
min
,
Vector3
max
)
Parameters
value1
Type:
SoftGear.Strix.Client.Ingame.Interpolation
Vector3
The source vector.
min
Type:
SoftGear.Strix.Client.Ingame.Interpolation
Vector3
The minimum value.
max
Type:
SoftGear.Strix.Client.Ingame.Interpolation
Vector3
The maximum value.
Return Value
Type:
Vector3
The restricted vector.
See Also
Reference
Vector3 Structure
SoftGear.Strix.Client.Ingame.Interpolation Namespace