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

Generated from class MR.Vector2f. This is the const reference to the struct. More...

+ Inheritance diagram for MR.ConstBox_Vector2f:

Classes

struct  _Underlying
 

Public Member Functions

virtual void Dispose ()
 
unsafe ConstBox_Vector2f (Vector2f 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_Vector2f (ConstBox_Vector2f _other)
 Generated copy constructor.
 
unsafe ConstBox_Vector2f ()
 Constructs an empty (default-constructed) instance.
 
unsafe ConstBox_Vector2f (MR.Const_NoInit _1)
 Generated from constructor MR.Vector2f.Vector2f.
 
unsafe ConstBox_Vector2f (float x, float y)
 Generated from constructor MR.Vector2f.Vector2f.
 
unsafe float lengthSq ()
 Generated from method MR.Vector2f.lengthSq.
 
unsafe float length ()
 Generated from method MR.Vector2f.length.
 
unsafe MR.Vector2f normalized ()
 Generated from method MR.Vector2f.normalized.
 
unsafe MR.Vector2f furthestBasisVector ()
 Generated from method MR.Vector2f.furthestBasisVector.
 
unsafe MR.Vector2f perpendicular ()
 returns same length vector orthogonal to this (rotated 90 degrees counter-clockwise) Generated from method MR.Vector2f.perpendicular.
 
unsafe bool isFinite ()
 Generated from method MR.Vector2f.isFinite.
 
bool Equals (MR.ConstBox_Vector2f? b)
 
override bool Equals (object? other)
 

Static Public Member Functions

static implicit operator ConstBox_Vector2f (Vector2f other)
 Convert from a struct by copying it. Note that only ConstBox_Vector2f has this conversion, Box_Vector2f intentionally doesn't.
 
static MR.Vector2f diagonal (float a)
 Generated from method MR.Vector2f.diagonal.
 
static MR.Vector2f plusX ()
 Generated from method MR.Vector2f.plusX.
 
static MR.Vector2f plusY ()
 Generated from method MR.Vector2f.plusY.
 
static MR.Vector2f minusX ()
 Generated from method MR.Vector2f.minusX.
 
static MR.Vector2f minusY ()
 Generated from method MR.Vector2f.minusY.
 
static unsafe bool operator== (MR.ConstBox_Vector2f a, MR.ConstBox_Vector2f b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.ConstBox_Vector2f a, MR.ConstBox_Vector2f b)
 
static unsafe MR.Misc.ConstRef< MR.Vector2foperator+ (MR.ConstBox_Vector2f a)
 Generated from function MR.operator+.
 
static unsafe MR.Vector2f operator- (MR.ConstBox_Vector2f a)
 Generated from function MR.operator-.
 
static unsafe MR.Vector2f operator+ (MR.ConstBox_Vector2f a, in MR.Vector2f b)
 Generated from function MR.operator+.
 
static unsafe MR.Vector2f operator- (MR.ConstBox_Vector2f a, in MR.Vector2f b)
 Generated from function MR.operator-.
 
static unsafe MR.Vector2f operator* (float a, MR.ConstBox_Vector2f b)
 Generated from function MR.operator*.
 
static unsafe MR.Vector2f operator* (MR.ConstBox_Vector2f b, float a)
 Generated from function MR.operator*.
 
static unsafe MR.Vector2f operator/ (ConstBox_Vector2f b, float a)
 Generated from function MR.operator/.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Static Protected Attributes

static unsafe int * __ref_storage_Elements
 

Properties

ref readonly float x [get]
 
ref readonly float y [get]
 
static unsafe int Elements [get]
 
unsafe float this[int e] [get]
 Generated from method MR.Vector2f.operator[].
 

Detailed Description

Generated from class MR.Vector2f. This is the const reference to the struct.

Constructor & Destructor Documentation

◆ ConstBox_Vector2f() [1/5]

unsafe MR.ConstBox_Vector2f.ConstBox_Vector2f ( Vector2f 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.)

◆ ConstBox_Vector2f() [2/5]

unsafe MR.ConstBox_Vector2f.ConstBox_Vector2f ( ConstBox_Vector2f _other)
inline

Generated copy constructor.

◆ ConstBox_Vector2f() [3/5]

unsafe MR.ConstBox_Vector2f.ConstBox_Vector2f ( )
inline

Constructs an empty (default-constructed) instance.

◆ ConstBox_Vector2f() [4/5]

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

Generated from constructor MR.Vector2f.Vector2f.

◆ ConstBox_Vector2f() [5/5]

unsafe MR.ConstBox_Vector2f.ConstBox_Vector2f ( float x,
float y )
inline

Generated from constructor MR.Vector2f.Vector2f.

Member Function Documentation

◆ diagonal()

static MR.Vector2f MR.ConstBox_Vector2f.diagonal ( float a)
inlinestatic

Generated from method MR.Vector2f.diagonal.

◆ Dispose() [1/2]

virtual void MR.ConstBox_Vector2f.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.ConstBox_Vector2f.Dispose ( bool disposing)
inlineprotectedvirtual

◆ Equals() [1/2]

bool MR.ConstBox_Vector2f.Equals ( MR.ConstBox_Vector2f? b)
inline

◆ Equals() [2/2]

override bool MR.ConstBox_Vector2f.Equals ( object? other)
inline

◆ furthestBasisVector()

unsafe MR.Vector2f MR.ConstBox_Vector2f.furthestBasisVector ( )
inline

Generated from method MR.Vector2f.furthestBasisVector.

◆ isFinite()

unsafe bool MR.ConstBox_Vector2f.isFinite ( )
inline

Generated from method MR.Vector2f.isFinite.

◆ length()

unsafe float MR.ConstBox_Vector2f.length ( )
inline

Generated from method MR.Vector2f.length.

◆ lengthSq()

unsafe float MR.ConstBox_Vector2f.lengthSq ( )
inline

Generated from method MR.Vector2f.lengthSq.

◆ minusX()

static MR.Vector2f MR.ConstBox_Vector2f.minusX ( )
inlinestatic

Generated from method MR.Vector2f.minusX.

◆ minusY()

static MR.Vector2f MR.ConstBox_Vector2f.minusY ( )
inlinestatic

Generated from method MR.Vector2f.minusY.

◆ normalized()

unsafe MR.Vector2f MR.ConstBox_Vector2f.normalized ( )
inline

Generated from method MR.Vector2f.normalized.

◆ operator ConstBox_Vector2f()

static implicit MR.ConstBox_Vector2f.operator ConstBox_Vector2f ( Vector2f other)
inlinestatic

Convert from a struct by copying it. Note that only ConstBox_Vector2f has this conversion, Box_Vector2f intentionally doesn't.

◆ operator!=()

static unsafe bool MR.ConstBox_Vector2f.operator!= ( MR.ConstBox_Vector2f a,
MR.ConstBox_Vector2f b )
inlinestatic

◆ operator*() [1/2]

static unsafe MR.Vector2f MR.ConstBox_Vector2f.operator* ( float a,
MR.ConstBox_Vector2f b )
inlinestatic

Generated from function MR.operator*.

◆ operator*() [2/2]

static unsafe MR.Vector2f MR.ConstBox_Vector2f.operator* ( MR.ConstBox_Vector2f b,
float a )
inlinestatic

Generated from function MR.operator*.

◆ operator+() [1/2]

static unsafe MR.Misc.ConstRef< MR.Vector2f > MR.ConstBox_Vector2f.operator+ ( MR.ConstBox_Vector2f a)
inlinestatic

Generated from function MR.operator+.

◆ operator+() [2/2]

static unsafe MR.Vector2f MR.ConstBox_Vector2f.operator+ ( MR.ConstBox_Vector2f a,
in MR.Vector2f b )
inlinestatic

Generated from function MR.operator+.

◆ operator-() [1/2]

static unsafe MR.Vector2f MR.ConstBox_Vector2f.operator- ( MR.ConstBox_Vector2f a)
inlinestatic

Generated from function MR.operator-.

◆ operator-() [2/2]

static unsafe MR.Vector2f MR.ConstBox_Vector2f.operator- ( MR.ConstBox_Vector2f a,
in MR.Vector2f b )
inlinestatic

Generated from function MR.operator-.

◆ operator/()

static unsafe MR.Vector2f MR.ConstBox_Vector2f.operator/ ( ConstBox_Vector2f b,
float a )
inlinestatic

Generated from function MR.operator/.

◆ operator==()

static unsafe bool MR.ConstBox_Vector2f.operator== ( MR.ConstBox_Vector2f a,
MR.ConstBox_Vector2f b )
inlinestatic

Generated from function MR.operator==.

◆ perpendicular()

unsafe MR.Vector2f MR.ConstBox_Vector2f.perpendicular ( )
inline

returns same length vector orthogonal to this (rotated 90 degrees counter-clockwise) Generated from method MR.Vector2f.perpendicular.

◆ plusX()

static MR.Vector2f MR.ConstBox_Vector2f.plusX ( )
inlinestatic

Generated from method MR.Vector2f.plusX.

◆ plusY()

static MR.Vector2f MR.ConstBox_Vector2f.plusY ( )
inlinestatic

Generated from method MR.Vector2f.plusY.

Member Data Documentation

◆ __ref_storage_Elements

unsafe int* MR.ConstBox_Vector2f.__ref_storage_Elements
staticprotected

Property Documentation

◆ Elements

unsafe int MR.ConstBox_Vector2f.Elements
staticget

◆ this[int e]

unsafe float MR.ConstBox_Vector2f.this[int e]
get

Generated from method MR.Vector2f.operator[].

◆ x

ref readonly float MR.ConstBox_Vector2f.x
get

◆ y

ref readonly float MR.ConstBox_Vector2f.y
get

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