Click or drag to resize
SyncExtensionsValidateRange Method (SyncSingle, Single, Single)

[This is preliminary documentation and is subject to change.]

Sets validate handler to validate that value is in range.

Namespace: VRage
Assembly: VRage (in VRage.dll) Version: 1.0.0.0
Syntax
C#
public static void ValidateRange(
	Sync<float> sync,
	float inclusiveMin,
	float inclusiveMax
)

Parameters

sync
Type: VRageSyncSingle

[Missing <param name="sync"/> documentation for "M:VRage.SyncExtensions.ValidateRange(VRage.Sync{System.Single},System.Single,System.Single)"]

inclusiveMin
Type: SystemSingle

[Missing <param name="inclusiveMin"/> documentation for "M:VRage.SyncExtensions.ValidateRange(VRage.Sync{System.Single},System.Single,System.Single)"]

inclusiveMax
Type: SystemSingle

[Missing <param name="inclusiveMax"/> documentation for "M:VRage.SyncExtensions.ValidateRange(VRage.Sync{System.Single},System.Single,System.Single)"]

See Also