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

[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,
	Func<float> inclusiveMin,
	Func<float> inclusiveMax
)

Parameters

sync
Type: VRageSyncSingle

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

inclusiveMin
Type: SystemFuncSingle

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

inclusiveMax
Type: SystemFuncSingle

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

See Also