Click or drag to resize

Vector4GetClamp Method

Restricts the current instance of Vector4 to be within a specified range and returns the clamped value.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public Vector4 GetClamp(
	Vector4 min,
	Vector4 max
)

Parameters

min
Type: NeoAxisVector4
The minimum value.
max
Type: NeoAxisVector4
The maximum value.

Return Value

Type: Vector4
The clamped instance of Vector4.
See Also