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

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

Sets validate handler to validate that value is withing bounds.

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

Parameters

sync
Type: VRageSyncSingle

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

bounds
Type: SystemFuncMyBounds

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

See Also