Click or drag to resize

Vector3Clamp Method (Vector3, Vector3, Vector3, Vector3)

Clamp a vector to the given minimum and maximum vectors

Namespace:  Internal.Net3dBool
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static void Clamp(
	ref Vector3 vec,
	ref Vector3 min,
	ref Vector3 max,
	out Vector3 result
)

Parameters

vec
Type: Internal.Net3dBoolVector3
Input vector
min
Type: Internal.Net3dBoolVector3
Minimum vector
max
Type: Internal.Net3dBoolVector3
Maximum vector
result
Type: Internal.Net3dBoolVector3
The clamped vector
See Also