Class IntDatum
ScriptableObject container class that holds an int value.
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.XR.CoreUtils.Datums
Assembly: Unity.XR.CoreUtils.dll
Syntax
[CreateAssetMenu(fileName = "IntDatum", menuName = "XR/Value Datums/Int Datum", order = 0)]
public class IntDatum : Datum<int>
Methods
SetValueRounded(float)
Snap to nearest int.
Declaration
public void SetValueRounded(float value)
Parameters
Type | Name | Description |
---|---|---|
float | value | Value to round to nearest int value. |