C# Class Uniject.Unity.UnityMath

Inheritance: Uniject.IMaths
Exibir arquivo Open project: yeticgi/Uniject

Public Methods

Method Description
LookRotation ( Vector3 direction, Vector3 up ) : Quaternion
randZeroToNMinusOne ( int n ) : int
randomNormalised ( ) : float
randomNormalisedNeg1to1 ( ) : float
trueOneInN ( int n ) : bool

Method Details

LookRotation() public method

public LookRotation ( Vector3 direction, Vector3 up ) : Quaternion
direction Vector3
up Vector3
return UnityEngine.Quaternion

randZeroToNMinusOne() public method

public randZeroToNMinusOne ( int n ) : int
n int
return int

randomNormalised() public method

public randomNormalised ( ) : float
return float

randomNormalisedNeg1to1() public method

public randomNormalisedNeg1to1 ( ) : float
return float

trueOneInN() public method

public trueOneInN ( int n ) : bool
n int
return bool