MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Box_Vector4f Class Reference

four-dimensional vector Generated from class MR.Vector4f. This is the non-const reference to the struct. More...

+ Inheritance diagram for MR.Box_Vector4f:

Public Member Functions

unsafe Box_Vector4f (Vector4f other)
 Make a copy of a struct. (Even though we initially pass is_owning: false, we then use the copy constructor to produce an owning instance.)
 
unsafe Box_Vector4f (ConstBox_Vector4f _other)
 Generated copy constructor.
 
void Assign (ConstBox_Vector4f _other)
 Generated copy assignment.
 
unsafe Box_Vector4f ()
 Constructs an empty (default-constructed) instance.
 
unsafe Box_Vector4f (MR.Const_NoInit _1)
 Generated from constructor MR.Vector4f.Vector4f.
 
unsafe Box_Vector4f (float x, float y, float z, float w)
 Generated from constructor MR.Vector4f.Vector4f.
 
unsafe ref MR.Vector4f addAssign (in MR.Vector4f b)
 Generated from function MR.operator+=.
 
unsafe ref MR.Vector4f subAssign (in MR.Vector4f b)
 Generated from function MR.operator-=.
 
unsafe ref MR.Vector4f mulAssign (float b)
 Generated from function MR.operator*=.
 
unsafe ref MR.Vector4f divAssign (float b)
 Generated from function MR.operator/=.
 
- Public Member Functions inherited from MR.ConstBox_Vector4f
virtual void Dispose ()
 
unsafe ConstBox_Vector4f (Vector4f other)
 Make a copy of a struct. (Even though we initially pass is_owning: false, we then use the copy constructor to produce an owning instance.)
 
unsafe ConstBox_Vector4f (ConstBox_Vector4f _other)
 Generated copy constructor.
 
unsafe ConstBox_Vector4f ()
 Constructs an empty (default-constructed) instance.
 
unsafe ConstBox_Vector4f (MR.Const_NoInit _1)
 Generated from constructor MR.Vector4f.Vector4f.
 
unsafe ConstBox_Vector4f (float x, float y, float z, float w)
 Generated from constructor MR.Vector4f.Vector4f.
 
unsafe float lengthSq ()
 Generated from method MR.Vector4f.lengthSq.
 
unsafe float length ()
 Generated from method MR.Vector4f.length.
 
unsafe MR.Vector4f normalized ()
 Generated from method MR.Vector4f.normalized.
 
unsafe MR.Vector3f proj3d ()
 assuming this is a point represented in homogeneous 4D coordinates, returns the point as 3D-vector Generated from method MR.Vector4f.proj3d.
 
unsafe bool isFinite ()
 Generated from method MR.Vector4f.isFinite.
 
bool Equals (MR.ConstBox_Vector4f? b)
 
override bool Equals (object? other)
 

Properties

new ref float x [get]
 
new ref float y [get]
 
new ref float z [get]
 
new ref float w [get]
 
unsafe new ref float this[int e] [get]
 Generated from method MR.Vector4f.operator[].
 
- Properties inherited from MR.ConstBox_Vector4f
ref readonly float x [get]
 
ref readonly float y [get]
 
ref readonly float z [get]
 
ref readonly float w [get]
 
static unsafe int Elements [get]
 
unsafe float this[int e] [get]
 Generated from method MR.Vector4f.operator[].
 

Additional Inherited Members

- Static Public Member Functions inherited from MR.ConstBox_Vector4f
static implicit operator ConstBox_Vector4f (Vector4f other)
 Convert from a struct by copying it. Note that only ConstBox_Vector4f has this conversion, Box_Vector4f intentionally doesn't.
 
static MR.Vector4f diagonal (float a)
 Generated from method MR.Vector4f.diagonal.
 
static unsafe bool operator== (MR.ConstBox_Vector4f a, MR.ConstBox_Vector4f b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.ConstBox_Vector4f a, MR.ConstBox_Vector4f b)
 
static unsafe MR.Misc.ConstRef< MR.Vector4foperator+ (MR.ConstBox_Vector4f a)
 Generated from function MR.operator+.
 
static unsafe MR.Vector4f operator- (MR.ConstBox_Vector4f a)
 Generated from function MR.operator-.
 
static unsafe MR.Vector4f operator+ (MR.ConstBox_Vector4f a, in MR.Vector4f b)
 Generated from function MR.operator+.
 
static unsafe MR.Vector4f operator- (MR.ConstBox_Vector4f a, in MR.Vector4f b)
 Generated from function MR.operator-.
 
static unsafe MR.Vector4f operator* (float a, MR.ConstBox_Vector4f b)
 Generated from function MR.operator*.
 
static unsafe MR.Vector4f operator* (MR.ConstBox_Vector4f b, float a)
 Generated from function MR.operator*.
 
static unsafe MR.Vector4f operator/ (ConstBox_Vector4f b, float a)
 Generated from function MR.operator/.
 
- Protected Member Functions inherited from MR.ConstBox_Vector4f
virtual unsafe void Dispose (bool disposing)
 
- Static Protected Attributes inherited from MR.ConstBox_Vector4f
static unsafe int * __ref_storage_Elements
 

Detailed Description

four-dimensional vector Generated from class MR.Vector4f. This is the non-const reference to the struct.

Constructor & Destructor Documentation

◆ Box_Vector4f() [1/5]

unsafe MR.Box_Vector4f.Box_Vector4f ( Vector4f other)
inline

Make a copy of a struct. (Even though we initially pass is_owning: false, we then use the copy constructor to produce an owning instance.)

◆ Box_Vector4f() [2/5]

unsafe MR.Box_Vector4f.Box_Vector4f ( ConstBox_Vector4f _other)
inline

Generated copy constructor.

◆ Box_Vector4f() [3/5]

unsafe MR.Box_Vector4f.Box_Vector4f ( )
inline

Constructs an empty (default-constructed) instance.

◆ Box_Vector4f() [4/5]

unsafe MR.Box_Vector4f.Box_Vector4f ( MR.Const_NoInit _1)
inline

Generated from constructor MR.Vector4f.Vector4f.

◆ Box_Vector4f() [5/5]

unsafe MR.Box_Vector4f.Box_Vector4f ( float x,
float y,
float z,
float w )
inline

Generated from constructor MR.Vector4f.Vector4f.

Member Function Documentation

◆ addAssign()

unsafe ref MR.Vector4f MR.Box_Vector4f.addAssign ( in MR.Vector4f b)
inline

Generated from function MR.operator+=.

◆ Assign()

void MR.Box_Vector4f.Assign ( ConstBox_Vector4f _other)
inline

Generated copy assignment.

◆ divAssign()

unsafe ref MR.Vector4f MR.Box_Vector4f.divAssign ( float b)
inline

Generated from function MR.operator/=.

◆ mulAssign()

unsafe ref MR.Vector4f MR.Box_Vector4f.mulAssign ( float b)
inline

Generated from function MR.operator*=.

◆ subAssign()

unsafe ref MR.Vector4f MR.Box_Vector4f.subAssign ( in MR.Vector4f b)
inline

Generated from function MR.operator-=.

Property Documentation

◆ this[int e]

unsafe new ref float MR.Box_Vector4f.this[int e]
get

Generated from method MR.Vector4f.operator[].

◆ w

new ref float MR.Box_Vector4f.w
get

◆ x

new ref float MR.Box_Vector4f.x
get

◆ y

new ref float MR.Box_Vector4f.y
get

◆ z

new ref float MR.Box_Vector4f.z
get

The documentation for this class was generated from the following file: