NiceTouch v2.1
MoreMountains.Tools.MMVector3Extensions Class Reference

Vector3 Extensions More...

Static Public Member Functions

static Vector3 MMSetX (this Vector3 vector, float newValue)
 Sets the x value of a vector More...
 
static Vector3 MMSetY (this Vector3 vector, float newValue)
 Sets the y value of a vector More...
 
static Vector3 MMSetZ (this Vector3 vector, float newValue)
 Sets the z value of a vector More...
 
static Vector3 MMInvert (this Vector3 newValue)
 Inverts a vector More...
 
static Vector3 MMProject (this Vector3 vector, Vector3 projectedVector)
 Projects a vector on another More...
 
static Vector3 MMReject (this Vector3 vector, Vector3 rejectedVector)
 Rejects a vector on another More...
 
static Vector3 MMRound (this Vector3 vector)
 Rounds all components of a vector More...
 

Detailed Description

Vector3 Extensions

Member Function Documentation

◆ MMInvert()

static Vector3 MoreMountains.Tools.MMVector3Extensions.MMInvert ( this Vector3  newValue)
static

Inverts a vector

Parameters
newValue
Returns

◆ MMProject()

static Vector3 MoreMountains.Tools.MMVector3Extensions.MMProject ( this Vector3  vector,
Vector3  projectedVector 
)
static

Projects a vector on another

Parameters
vector
projectedVector
Returns

◆ MMReject()

static Vector3 MoreMountains.Tools.MMVector3Extensions.MMReject ( this Vector3  vector,
Vector3  rejectedVector 
)
static

Rejects a vector on another

Parameters
vector
rejectedVector
Returns

◆ MMRound()

static Vector3 MoreMountains.Tools.MMVector3Extensions.MMRound ( this Vector3  vector)
static

Rounds all components of a vector

Parameters
vector
Returns

◆ MMSetX()

static Vector3 MoreMountains.Tools.MMVector3Extensions.MMSetX ( this Vector3  vector,
float  newValue 
)
static

Sets the x value of a vector

Parameters
vector
newValue
Returns

◆ MMSetY()

static Vector3 MoreMountains.Tools.MMVector3Extensions.MMSetY ( this Vector3  vector,
float  newValue 
)
static

Sets the y value of a vector

Parameters
vector
newValue
Returns

◆ MMSetZ()

static Vector3 MoreMountains.Tools.MMVector3Extensions.MMSetZ ( this Vector3  vector,
float  newValue 
)
static

Sets the z value of a vector

Parameters
vector
newValue
Returns

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