Show / Hide Table of Contents

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 Source

GetXZ(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

| Improve this Doc View Source

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

  • Improve this Doc
  • View Source
Back to top Generated by DocFX