Table of Contents

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

normal Vector3
d float

Fields

D

[YuzuMember]
public float D

Field Value

float

Normal

[YuzuMember]
public Vector3 Normal

Field Value

Vector3

Properties

Normalized

public Plane Normalized { get; }

Property Value

Plane

Methods

Dot(Vector4)

public float Dot(Vector4 value)

Parameters

value Vector4

Returns

float

DotCoordinate(Vector3)

public float DotCoordinate(Vector3 value)

Parameters

value Vector3

Returns

float

DotNormal(Vector3)

public float DotNormal(Vector3 value)

Parameters

value Vector3

Returns

float

Equals(Plane)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Plane other)

Parameters

other Plane

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

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

a Vector3
b Vector3
c Vector3

Returns

Plane

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

Plane

Operators

operator ==(Plane, Plane)

public static bool operator ==(Plane plane1, Plane plane2)

Parameters

plane1 Plane
plane2 Plane

Returns

bool

operator !=(Plane, Plane)

public static bool operator !=(Plane plane1, Plane plane2)

Parameters

plane1 Plane
plane2 Plane

Returns

bool