Struct Plane
- Namespace
- Lime
- Assembly
- Lime.dll
public struct Plane : IEquatable<Plane>
- Implements
- Inherited Members
Constructors
Plane(Vector3, float)
public Plane(Vector3 normal, float d)
Parameters
Fields
D
[YuzuMember]
public float D
Field Value
Normal
[YuzuMember]
public Vector3 Normal
Field Value
Properties
Normalized
public Plane Normalized { get; }
Property Value
Methods
Dot(Vector4)
public float Dot(Vector4 value)
Parameters
value
Vector4
Returns
DotCoordinate(Vector3)
public float DotCoordinate(Vector3 value)
Parameters
value
Vector3
Returns
DotNormal(Vector3)
public float DotNormal(Vector3 value)
Parameters
value
Vector3
Returns
Equals(Plane)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Plane other)
Parameters
other
PlaneAn object to compare with this object.
Returns
Equals(object)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object other)
Parameters
other
object
Returns
- bool
true if
obj
and this instance are the same type and represent the same value; otherwise, false.
FromTriangle(Vector3, Vector3, Vector3)
public static Plane FromTriangle(Vector3 a, Vector3 b, Vector3 c)
Parameters
Returns
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
Transform(Matrix44)
public Plane Transform(Matrix44 matrix)
Parameters
matrix
Matrix44
Returns
Operators
operator ==(Plane, Plane)
public static bool operator ==(Plane plane1, Plane plane2)
Parameters
Returns
operator !=(Plane, Plane)
public static bool operator !=(Plane plane1, Plane plane2)