This is the documentation for the Scripting APIs of this package.
Show / Hide Table of Contents
-
Unity.
Mathematics -
Affine
Transform -
Do
Not Normalize Attribute -
Post
Normalize Attribute -
Random
- Constructors
- Fields
-
Methods
-
Create
From Index -
Init
State -
Next
Bool -
Next
Bool2 -
Next
Bool3 -
Next
Bool4 -
Next
Double -
Next
Double2 -
Next
Double2Direction -
Next
Double3 -
Next
Double3Direction -
Next
Double4 -
Next
Float -
Next
Float2 -
Next
Float2Direction -
Next
Float3 -
Next
Float3Direction -
Next
Float4 -
Next
Int -
Next
Int2 -
Next
Int3 -
Next
Int4 -
Next
Quaternion Rotation -
Next
UInt -
Next
UInt2 -
Next
UInt3 -
Next
UInt4
-
Create
-
Rigid
Transform - bool2
- bool2x2
- bool2x3
- bool2x4
- bool3
- bool3x2
- bool3x3
- bool3x4
- bool4
- bool4x2
- bool4x3
- bool4x4
- double2
- double2x2
- double2x3
- double2x4
- double3
- double3x2
- double3x3
- double3x4
- double4
- double4x2
- double4x3
- double4x4
- float2
- float2x2
- float2x3
- float2x4
- float3
- float3x2
- float3x3
- float3x4
- float4
- float4x2
- float4x3
- float4x4
- half
- half2
- half3
- half4
- int2
- int2x2
- int2x3
- int2x4
- int3
- int3x2
- int3x3
- int3x4
- int4
- int4x2
- int4x3
- int4x4
-
math
- Fields
-
Methods
-
Affine
Transform - Euler
-
Euler
XYZ -
Euler
XZY -
Euler
YXZ -
Euler
YZX -
Euler
ZXY -
Euler
ZYX -
Rigid
Transform - abs
- acos
- all
- angle
- any
- asdouble
- asfloat
- asin
- asint
- aslong
- asuint
- asulong
- atan
- atan2
- back
- bitmask
- bool2
- bool2x2
- bool2x3
- bool2x4
- bool3
- bool3x2
- bool3x3
- bool3x4
- bool4
- bool4x2
- bool4x3
- bool4x4
- ceil
- ceillog2
- ceilpow2
- chgsign
- clamp
- cmax
- cmin
- compress
- conjugate
- cos
- cosh
- countbits
- cross
- csum
- decompose
- degrees
- determinant
- distance
- distancesq
- dot
- double2
- double2x2
- double2x3
- double2x4
- double3
- double3x2
- double3x3
- double3x4
- double4
- double4x2
- double4x3
- double4x4
- down
- exp
- exp10
- exp2
- f16tof32
- f32tof16
- faceforward
- fastinverse
- float2
- float2x2
- float2x3
- float2x4
- float3
- float3x2
- float3x3
- float3x4
- float4
- float4x2
- float4x3
- float4x4
- floor
- floorlog2
- fmod
- forward
- frac
- half
- half2
- half3
- half4
- hash
- hashwide
- int2
- int2x2
- int2x3
- int2x4
- int3
- int3x2
- int3x3
- int3x4
- int4
- int4x2
- int4x3
- int4x4
- inverse
- isfinite
- isinf
- isnan
- ispow2
- left
- length
- lengthsq
- lerp
- log
- log10
- log2
- lzcnt
- mad
- max
- min
- modf
- mul
-
mul
Scale - nlerp
- normalize
- normalizesafe
- orthonormal_basis
- orthonormalize
- pow
- project
- projectsafe
- pseudoinverse
- quaternion
- radians
- rcp
- reflect
- refract
- remap
- reversebits
- right
- rol
- ror
- rotate
- rotation
- round
- rsqrt
- saturate
-
scale
Mul - select
- shuffle
- sign
- sin
- sincos
- sinh
- slerp
- smoothstep
- sqrt
- square
- step
- tan
- tanh
- transform
- transpose
- trunc
- tzcnt
- uint2
- uint2x2
- uint2x3
- uint2x4
- uint3
- uint3x2
- uint3x3
- uint3x4
- uint4
- uint4x2
- uint4x3
- uint4x4
- unitexp
- unitlog
- unlerp
- up
-
Affine
-
math.
Rotation Order -
math.
Shuffle Component - noise
- quaternion
- svd
- uint2
- uint2x2
- uint2x3
- uint2x4
- uint3
- uint3x2
- uint3x3
- uint3x4
- uint4
- uint4x2
- uint4x3
- uint4x4
-
Affine
-
Unity.
Mathematics. Geometry