Struct Directions
Six floats representing right, left, top, bottom, back, front.
Syntax
[Serializable]
public struct Directions
Constructors
Directions(params float[])
Declaration
public Directions(params float[] values)
Parameters
Type |
Name |
Description |
float[] |
values |
|
Properties
Back
Declaration
public float Back { get; set; }
Property Value
Bottom
Declaration
public float Bottom { get; set; }
Property Value
Center
Declaration
public Vector3 Center { get; }
Property Value
Type |
Description |
UnityEngine.Vector3 |
|
Front
Declaration
public float Front { get; set; }
Property Value
this[Direction]
Declaration
public float this[Direction key] { get; }
Parameters
Property Value
this[int]
Declaration
public float this[int key] { get; }
Parameters
Type |
Name |
Description |
int |
key |
|
Property Value
Left
Declaration
public float Left { get; set; }
Property Value
Right
Declaration
public float Right { get; set; }
Property Value
Size
Declaration
public Vector3 Size { get; }
Property Value
Type |
Description |
UnityEngine.Vector3 |
|
Top
Declaration
public float Top { get; set; }
Property Value
zero
Declaration
public static Directions zero { get; }
Property Value
Methods
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
System.ValueType.Equals(object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
System.ValueType.GetHashCode()
ToString()
Declaration
public override string ToString()
Returns
Overrides
System.ValueType.ToString()
Operators
operator ==(Directions, Directions)
Declaration
public static bool operator ==(Directions a, Directions b)
Parameters
Returns
operator !=(Directions, Directions)
Declaration
public static bool operator !=(Directions a, Directions b)
Parameters
Returns