MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Vector2f Struct Reference

Generated from class MR.Vector2f. This is the by-value version of the struct. More...

+ Inheritance diagram for MR.Vector2f:

Public Member Functions

 Vector2f (Vector2f _other)
 Generated copy constructor.
 
unsafe Vector2f ()
 Constructs an empty (default-constructed) instance.
 
unsafe Vector2f (MR.Const_NoInit _1)
 Generated from constructor MR.Vector2f.Vector2f.
 
unsafe Vector2f (float x, float y)
 Generated from constructor MR.Vector2f.Vector2f.
 
unsafe ref float index (int e)
 Generated from method MR.Vector2f.operator[].
 
readonly unsafe float lengthSq ()
 Generated from method MR.Vector2f.lengthSq.
 
readonly unsafe float length ()
 Generated from method MR.Vector2f.length.
 
readonly unsafe MR.Vector2f normalized ()
 Generated from method MR.Vector2f.normalized.
 
readonly unsafe MR.Vector2f furthestBasisVector ()
 Generated from method MR.Vector2f.furthestBasisVector.
 
readonly unsafe MR.Vector2f perpendicular ()
 returns same length vector orthogonal to this (rotated 90 degrees counter-clockwise) Generated from method MR.Vector2f.perpendicular.
 
readonly unsafe bool isFinite ()
 Generated from method MR.Vector2f.isFinite.
 
unsafe ref MR.Vector2f addAssign (in MR.Vector2f b)
 Generated from function MR.operator+=.
 
unsafe ref MR.Vector2f subAssign (in MR.Vector2f b)
 Generated from function MR.operator-=.
 
unsafe ref MR.Vector2f mulAssign (float b)
 Generated from function MR.operator*=.
 
unsafe ref MR.Vector2f divAssign (float b)
 Generated from function MR.operator/=.
 
bool Equals (MR.Vector2f b)
 
override bool Equals (object? other)
 

Static Public Member Functions

static implicit operator Vector2f (ConstBox_Vector2f other)
 Copy contents from a wrapper class to this struct.
 
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.Vector2f a, MR.Vector2f b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.Vector2f a, MR.Vector2f b)
 
static unsafe MR.Misc.ConstRef< MR.Vector2foperator+ (MR.Vector2f a)
 Generated from function MR.operator+.
 
static unsafe MR.Vector2f operator- (MR.Vector2f a)
 Generated from function MR.operator-.
 
static unsafe MR.Vector2f operator+ (MR.Vector2f a, in MR.Vector2f b)
 Generated from function MR.operator+.
 
static unsafe MR.Vector2f operator- (MR.Vector2f a, in MR.Vector2f b)
 Generated from function MR.operator-.
 
static unsafe MR.Vector2f operator* (float a, MR.Vector2f b)
 Generated from function MR.operator*.
 
static unsafe MR.Vector2f operator* (MR.Vector2f b, float a)
 Generated from function MR.operator*.
 
static MR.Vector2f operator/ (MR.Vector2f b, float a)
 Generated from function MR.operator/.
 

Public Attributes

float x
 
float y
 

Properties

readonly unsafe float this[int e] [get]
 Generated from method MR.Vector2f.operator[].
 

Detailed Description

Generated from class MR.Vector2f. This is the by-value version of the struct.

Constructor & Destructor Documentation

◆ Vector2f() [1/4]

MR.Vector2f.Vector2f ( Vector2f _other)
inline

Generated copy constructor.

◆ Vector2f() [2/4]

unsafe MR.Vector2f.Vector2f ( )
inline

Constructs an empty (default-constructed) instance.

◆ Vector2f() [3/4]

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

Generated from constructor MR.Vector2f.Vector2f.

◆ Vector2f() [4/4]

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

Generated from constructor MR.Vector2f.Vector2f.

Member Function Documentation

◆ addAssign()

unsafe ref MR.Vector2f MR.Vector2f.addAssign ( in MR.Vector2f b)
inline

Generated from function MR.operator+=.

◆ diagonal()

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

Generated from method MR.Vector2f.diagonal.

◆ divAssign()

unsafe ref MR.Vector2f MR.Vector2f.divAssign ( float b)
inline

Generated from function MR.operator/=.

◆ Equals() [1/2]

bool MR.Vector2f.Equals ( MR.Vector2f b)
inline

◆ Equals() [2/2]

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

◆ furthestBasisVector()

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

Generated from method MR.Vector2f.furthestBasisVector.

◆ index()

unsafe ref float MR.Vector2f.index ( int e)
inline

Generated from method MR.Vector2f.operator[].

◆ isFinite()

readonly unsafe bool MR.Vector2f.isFinite ( )
inline

Generated from method MR.Vector2f.isFinite.

◆ length()

readonly unsafe float MR.Vector2f.length ( )
inline

Generated from method MR.Vector2f.length.

◆ lengthSq()

readonly unsafe float MR.Vector2f.lengthSq ( )
inline

Generated from method MR.Vector2f.lengthSq.

◆ minusX()

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

Generated from method MR.Vector2f.minusX.

◆ minusY()

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

Generated from method MR.Vector2f.minusY.

◆ mulAssign()

unsafe ref MR.Vector2f MR.Vector2f.mulAssign ( float b)
inline

Generated from function MR.operator*=.

◆ normalized()

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

Generated from method MR.Vector2f.normalized.

◆ operator Vector2f()

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

Copy contents from a wrapper class to this struct.

◆ operator!=()

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

◆ operator*() [1/2]

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

Generated from function MR.operator*.

◆ operator*() [2/2]

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

Generated from function MR.operator*.

◆ operator+() [1/2]

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

Generated from function MR.operator+.

◆ operator+() [2/2]

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

Generated from function MR.operator+.

◆ operator-() [1/2]

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

Generated from function MR.operator-.

◆ operator-() [2/2]

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

Generated from function MR.operator-.

◆ operator/()

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

Generated from function MR.operator/.

◆ operator==()

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

Generated from function MR.operator==.

◆ perpendicular()

readonly unsafe MR.Vector2f MR.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.Vector2f.plusX ( )
inlinestatic

Generated from method MR.Vector2f.plusX.

◆ plusY()

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

Generated from method MR.Vector2f.plusY.

◆ subAssign()

unsafe ref MR.Vector2f MR.Vector2f.subAssign ( in MR.Vector2f b)
inline

Generated from function MR.operator-=.

Member Data Documentation

◆ x

float MR.Vector2f.x

◆ y

float MR.Vector2f.y

Property Documentation

◆ this[int e]

readonly unsafe float MR.Vector2f.this[int e]
get

Generated from method MR.Vector2f.operator[].


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