Class RnTurnTypeEx
Inheritance
System.Object
RnTurnTypeEx
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: PLATEAU.RoadNetwork.Structure
Assembly: cs.temp.dll.dll
Syntax
public static class RnTurnTypeEx
Fields
Count
Declaration
public static readonly int Count
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
GetTurnType(Vector2, Vector2)
Declaration
public static RnTurnType GetTurnType(Vector2 from, Vector2 to)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector2 | from | |
| Vector2 | to |
Returns
| Type | Description |
|---|---|
| RnTurnType |
GetTurnType(Vector3, Vector3, AxisPlane)
Declaration
public static RnTurnType GetTurnType(Vector3 from, Vector3 to, AxisPlane axis)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | from | |
| Vector3 | to | |
| AxisPlane | axis |
Returns
| Type | Description |
|---|---|
| RnTurnType |
IsLeft(RnTurnType)
Declaration
public static bool IsLeft(this RnTurnType self)
Parameters
| Type | Name | Description |
|---|---|---|
| RnTurnType | self |
Returns
| Type | Description |
|---|---|
| System.Boolean |
IsRight(RnTurnType)
Declaration
public static bool IsRight(this RnTurnType self)
Parameters
| Type | Name | Description |
|---|---|---|
| RnTurnType | self |
Returns
| Type | Description |
|---|---|
| System.Boolean |