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