Vector3Ser Class partly compatible with UnityEngine.Vector3Ser, that is Serializable.
More...
|
| Vector3Ser (float x, float y, float z) |
| Initializes a new instance of the Vector3Ser class with the specified x, y, and z values.
|
|
| Vector3Ser (Vector3 vector3) |
| Initializes a new instance of the Vector3Ser class with the specified Vector3.
|
|
Vector3 | ToVector3 () |
| Converts this Vector3Ser to a Vector3.
|
|
void | SetFromVector3 (Vector3 vector3) |
| Sets the x, y, and z values of this Vector3Ser from the specified Vector3.
|
|
|
float | X [get, set] |
|
float | Y [get, set] |
|
float | Z [get, set] |
|
Vector3Ser Class partly compatible with UnityEngine.Vector3Ser, that is Serializable.
◆ Vector3Ser() [1/2]
Assets.Helpers.Vector3Ser.Vector3Ser |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
inline |
Initializes a new instance of the Vector3Ser class with the specified x, y, and z values.
- Parameters
-
x | The x value. |
y | The y value. |
z | The z value. |
◆ Vector3Ser() [2/2]
Assets.Helpers.Vector3Ser.Vector3Ser |
( |
Vector3 |
vector3 | ) |
|
|
inline |
Initializes a new instance of the Vector3Ser class with the specified Vector3.
- Parameters
-
vector3 | The Vector3 to initialize from. |
◆ SetFromVector3()
void Assets.Helpers.Vector3Ser.SetFromVector3 |
( |
Vector3 |
vector3 | ) |
|
|
inline |
Sets the x, y, and z values of this Vector3Ser from the specified Vector3.
- Parameters
-
vector3 | The Vector3 to set the values from. |
◆ ToVector3()
Vector3 Assets.Helpers.Vector3Ser.ToVector3 |
( |
| ) |
|
|
inline |
Converts this Vector3Ser to a Vector3.
- Returns
- The Vector3 representation of this Vector3Ser.
The documentation for this class was generated from the following file:
- C:/Users/stefa/source/repos/AI_Testing_Simulator/Unity/Assets/Helpers/Vector3Ser.cs