AI Testing Simulator
Loading...
Searching...
No Matches
Assets.Helpers.Vector3Ser Class Reference

Vector3Ser Class partly compatible with UnityEngine.Vector3Ser, that is Serializable. More...

Public Member Functions

 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.
 

Properties

float X [get, set]
 
float Y [get, set]
 
float Z [get, set]
 

Detailed Description

Vector3Ser Class partly compatible with UnityEngine.Vector3Ser, that is Serializable.

Constructor & Destructor Documentation

◆ 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
xThe x value.
yThe y value.
zThe 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
vector3The Vector3 to initialize from.

Member Function Documentation

◆ SetFromVector3()

void Assets.Helpers.Vector3Ser.SetFromVector3 ( Vector3  vector3)
inline

Sets the x, y, and z values of this Vector3Ser from the specified Vector3.

Parameters
vector3The 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: