Struct FloatRange2D
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: GameKit.Dependencies.dll
Syntax
[Serializable]
public struct FloatRange2D
Constructors
FloatRange2D(FloatRange, FloatRange)
Declaration
public FloatRange2D(FloatRange x, FloatRange y)
Parameters
FloatRange2D(Single, Single, Single, Single)
Declaration
public FloatRange2D(float xMin, float xMax, float yMin, float yMax)
Parameters
Type |
Name |
Description |
System.Single |
xMin |
|
System.Single |
xMax |
|
System.Single |
yMin |
|
System.Single |
yMax |
|
Fields
X
Declaration
Field Value
Y
Declaration
Field Value
Methods
Clamp(Vector2)
Declaration
public Vector2 Clamp(Vector2 original)
Parameters
Type |
Name |
Description |
UnityEngine.Vector2 |
original |
|
Returns
Type |
Description |
UnityEngine.Vector2 |
|
Clamp(Vector3)
Declaration
public Vector3 Clamp(Vector3 original)
Parameters
Type |
Name |
Description |
UnityEngine.Vector3 |
original |
|
Returns
Type |
Description |
UnityEngine.Vector3 |
|
ClampX(Single)
Declaration
public float ClampX(float original)
Parameters
Type |
Name |
Description |
System.Single |
original |
|
Returns
Type |
Description |
System.Single |
|
ClampY(Single)
Declaration
public float ClampY(float original)
Parameters
Type |
Name |
Description |
System.Single |
original |
|
Returns
Type |
Description |
System.Single |
|