Nebula
Loading...
Searching...
No Matches
Nebula.Plane Struct Reference

Inherits IEquatable.

Public Member Functions

 Plane (Vector4 value)
 Plane (Vector3 normal, float d)
 Plane (Vector3 a, Vector3 b, Vector3 c)
 Plane (float a, float b, float c, float d)
 Plane (Vector3 pointOnPlane, Vector3 normal)
 Create a Plane that contains the specified point and has the specified Normal vector.
float Dot (Vector4 value)
void Dot (ref Vector4 value, out float result)
float DotCoordinate (Vector3 value)
void DotCoordinate (ref Vector3 value, out float result)
float DotNormal (Vector3 value)
void DotNormal (ref Vector3 value, out float result)
void Normalize ()
override bool Equals (object other)
bool Equals (Plane other)
override int GetHashCode ()
PlaneIntersectionType Intersects (BoundingBox box)
void Intersects (ref BoundingBox box, out PlaneIntersectionType result)
PlaneIntersectionType Intersects (BoundingFrustum frustum)
PlaneIntersectionType Intersects (BoundingSphere sphere)
void Intersects (ref BoundingSphere sphere, out PlaneIntersectionType result)
override string ToString ()
void Deconstruct (out Vector3 normal, out float d)
 Deconstruction method for Plane.

Static Public Member Functions

static Plane Transform (Plane plane, Matrix matrix)
 Transforms a normalized plane by a matrix.
static void Transform (ref Plane plane, ref Matrix matrix, out Plane result)
 Transforms a normalized plane by a matrix.
static Plane Transform (Plane plane, Quaternion rotation)
 Transforms a normalized plane by a quaternion rotation.
static void Transform (ref Plane plane, ref Quaternion rotation, out Plane result)
 Transforms a normalized plane by a quaternion rotation.
static Plane Normalize (Plane value)
static void Normalize (ref Plane value, out Plane result)
static bool operator!= (Plane plane1, Plane plane2)
static bool operator== (Plane plane1, Plane plane2)

Public Attributes

float D
Vector3 Normal

Package Functions

PlaneIntersectionType Intersects (ref Vector3 point)

Properties

string DebugDisplayString [get]

Constructor & Destructor Documentation

◆ Plane() [1/5]

Nebula.Plane.Plane ( Vector4 value)
inline

◆ Plane() [2/5]

Nebula.Plane.Plane ( Vector3 normal,
float d )
inline

◆ Plane() [3/5]

Nebula.Plane.Plane ( Vector3 a,
Vector3 b,
Vector3 c )
inline

◆ Plane() [4/5]

Nebula.Plane.Plane ( float a,
float b,
float c,
float d )
inline

◆ Plane() [5/5]

Nebula.Plane.Plane ( Vector3 pointOnPlane,
Vector3 normal )
inline

Create a Plane that contains the specified point and has the specified Normal vector.

Parameters
pointOnPlaneA point the created Plane should contain.
normalThe normal of the plane.

Member Function Documentation

◆ Deconstruct()

void Nebula.Plane.Deconstruct ( out Vector3 normal,
out float d )
inline

Deconstruction method for Plane.

Parameters
normal
d

◆ Dot() [1/2]

void Nebula.Plane.Dot ( ref Vector4 value,
out float result )
inline

◆ Dot() [2/2]

float Nebula.Plane.Dot ( Vector4 value)
inline

◆ DotCoordinate() [1/2]

void Nebula.Plane.DotCoordinate ( ref Vector3 value,
out float result )
inline

◆ DotCoordinate() [2/2]

float Nebula.Plane.DotCoordinate ( Vector3 value)
inline

◆ DotNormal() [1/2]

void Nebula.Plane.DotNormal ( ref Vector3 value,
out float result )
inline

◆ DotNormal() [2/2]

float Nebula.Plane.DotNormal ( Vector3 value)
inline

◆ Equals() [1/2]

override bool Nebula.Plane.Equals ( object other)
inline

◆ Equals() [2/2]

bool Nebula.Plane.Equals ( Plane other)
inline

◆ GetHashCode()

override int Nebula.Plane.GetHashCode ( )
inline

◆ Intersects() [1/6]

PlaneIntersectionType Nebula.Plane.Intersects ( BoundingBox box)
inline

◆ Intersects() [2/6]

PlaneIntersectionType Nebula.Plane.Intersects ( BoundingFrustum frustum)
inline

◆ Intersects() [3/6]

PlaneIntersectionType Nebula.Plane.Intersects ( BoundingSphere sphere)
inline

◆ Intersects() [4/6]

void Nebula.Plane.Intersects ( ref BoundingBox box,
out PlaneIntersectionType result )
inline

◆ Intersects() [5/6]

void Nebula.Plane.Intersects ( ref BoundingSphere sphere,
out PlaneIntersectionType result )
inline

◆ Intersects() [6/6]

PlaneIntersectionType Nebula.Plane.Intersects ( ref Vector3 point)
inlinepackage

◆ Normalize() [1/3]

void Nebula.Plane.Normalize ( )
inline

◆ Normalize() [2/3]

Plane Nebula.Plane.Normalize ( Plane value)
inlinestatic

◆ Normalize() [3/3]

void Nebula.Plane.Normalize ( ref Plane value,
out Plane result )
inlinestatic

◆ operator!=()

bool Nebula.Plane.operator!= ( Plane plane1,
Plane plane2 )
inlinestatic

◆ operator==()

bool Nebula.Plane.operator== ( Plane plane1,
Plane plane2 )
inlinestatic

◆ ToString()

override string Nebula.Plane.ToString ( )
inline

◆ Transform() [1/4]

Plane Nebula.Plane.Transform ( Plane plane,
Matrix matrix )
inlinestatic

Transforms a normalized plane by a matrix.

Parameters
planeThe normalized plane to transform.
matrixThe transformation matrix.
Returns
The transformed plane.

◆ Transform() [2/4]

Plane Nebula.Plane.Transform ( Plane plane,
Quaternion rotation )
inlinestatic

Transforms a normalized plane by a quaternion rotation.

Parameters
planeThe normalized plane to transform.
rotationThe quaternion rotation.
Returns
The transformed plane.

◆ Transform() [3/4]

void Nebula.Plane.Transform ( ref Plane plane,
ref Matrix matrix,
out Plane result )
inlinestatic

Transforms a normalized plane by a matrix.

Parameters
planeThe normalized plane to transform.
matrixThe transformation matrix.
resultThe transformed plane.

◆ Transform() [4/4]

void Nebula.Plane.Transform ( ref Plane plane,
ref Quaternion rotation,
out Plane result )
inlinestatic

Transforms a normalized plane by a quaternion rotation.

Parameters
planeThe normalized plane to transform.
rotationThe quaternion rotation.
resultThe transformed plane.

Member Data Documentation

◆ D

float Nebula.Plane.D

◆ Normal

Vector3 Nebula.Plane.Normal

Property Documentation

◆ DebugDisplayString

string Nebula.Plane.DebugDisplayString
getpackage

The documentation for this struct was generated from the following file:
  • /github/workspace/code/addons/nsharp/NebulaEngine/mathf/Plane.cs