Struct Plane
Assembly: UnityEngine.dll
Syntax
Constructors
|
Improve this Doc
View Source
Plane(Vector3, Single)
Declaration
public Plane(Vector3 inNormal, float d)
Parameters
|
Improve this Doc
View Source
Plane(Vector3, Vector3)
Declaration
public Plane(Vector3 inNormal, Vector3 inPoint)
Parameters
|
Improve this Doc
View Source
Plane(Vector3, Vector3, Vector3)
Declaration
public Plane(Vector3 a, Vector3 b, Vector3 c)
Parameters
Properties
|
Improve this Doc
View Source
distance
Declaration
public float distance { get; set; }
Property Value
|
Improve this Doc
View Source
flipped
Declaration
public Plane flipped { get; }
Property Value
|
Improve this Doc
View Source
normal
Declaration
public Vector3 normal { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
ClosestPointOnPlane(Vector3)
Declaration
public Vector3 ClosestPointOnPlane(Vector3 point)
Parameters
Type |
Name |
Description |
Vector3 |
point |
|
Returns
|
Improve this Doc
View Source
Flip()
Declaration
|
Improve this Doc
View Source
GetDistanceToPoint(Vector3)
Declaration
public float GetDistanceToPoint(Vector3 point)
Parameters
Type |
Name |
Description |
Vector3 |
point |
|
Returns
|
Improve this Doc
View Source
GetSide(Vector3)
Declaration
public bool GetSide(Vector3 point)
Parameters
Type |
Name |
Description |
Vector3 |
point |
|
Returns
|
Improve this Doc
View Source
Raycast(Ray, out Single)
Declaration
public bool Raycast(Ray ray, out float enter)
Parameters
Returns
|
Improve this Doc
View Source
SameSide(Vector3, Vector3)
Declaration
public bool SameSide(Vector3 inPt0, Vector3 inPt1)
Parameters
Returns
|
Improve this Doc
View Source
Set3Points(Vector3, Vector3, Vector3)
Declaration
public void Set3Points(Vector3 a, Vector3 b, Vector3 c)
Parameters
|
Improve this Doc
View Source
SetNormalAndPosition(Vector3, Vector3)
Declaration
public void SetNormalAndPosition(Vector3 inNormal, Vector3 inPoint)
Parameters
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
|
Improve this Doc
View Source
ToString(String)
Declaration
public string ToString(string format)
Parameters
Type |
Name |
Description |
String |
format |
|
Returns
|
Improve this Doc
View Source
Translate(Plane, Vector3)
Declaration
public static Plane Translate(Plane plane, Vector3 translation)
Parameters
Returns
|
Improve this Doc
View Source
Translate(Vector3)
Declaration
public void Translate(Vector3 translation)
Parameters
Type |
Name |
Description |
Vector3 |
translation |
|
Extension Methods