Struct SurfaceHit
- Namespace
- SkyrimForge.Game
- Assembly
- SkyrimForge.Game.dll
The point a ray strikes and the normal of the face it strikes there.
public readonly struct SurfaceHit : IEquatable<SurfaceHit>
- Implements
- Inherited Members
Constructors
SurfaceHit(NiPoint3, NiPoint3)
The point a ray strikes and the normal of the face it strikes there.
public SurfaceHit(NiPoint3 Position, NiPoint3 Normal)
Parameters
Properties
Normal
The normal of the face at that point.
public NiPoint3 Normal { get; init; }
Property Value
Position
The point the ray strikes.
public NiPoint3 Position { get; init; }
Property Value
Methods
Deconstruct(out NiPoint3, out NiPoint3)
public void Deconstruct(out NiPoint3 Position, out NiPoint3 Normal)
Parameters
Equals(SurfaceHit)
public bool Equals(SurfaceHit other)
Parameters
otherSurfaceHit
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(SurfaceHit, SurfaceHit)
public static bool operator ==(SurfaceHit left, SurfaceHit right)
Parameters
leftSurfaceHitrightSurfaceHit
Returns
operator !=(SurfaceHit, SurfaceHit)
public static bool operator !=(SurfaceHit left, SurfaceHit right)
Parameters
leftSurfaceHitrightSurfaceHit