Class Vector3Extensions
Inheritance
System.Object
Vector3Extensions
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: Liminal.SDK.Extensions
Assembly: Liminal.SDK.dll
Syntax
public static class Vector3Extensions
Methods
| Improve this Doc View SourceGetXZ(Vector3)
Returns a new Vector3 that contains only the X and Z components of the original Vector3.
Declaration
public static Vector3 GetXZ(this Vector3 vector)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Vector3 | vector | The original Vector3. |
Returns
Type | Description |
---|---|
UnityEngine.Vector3 | A new Vector3 that contains only the X and Z components of the input Vector3 |
GetXZNormalized(Vector3)
Returns a new, normalized Vector3 that contains only the X and Z components of the original Vector3.
Declaration
public static Vector3 GetXZNormalized(this Vector3 vector)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Vector3 | vector | The original Vector3. |
Returns
Type | Description |
---|---|
UnityEngine.Vector3 | A new, normalized Vector3 that contains only the X and Z components of the input Vector3 |