Class Transform

A 3D transformation matrix uniform buffer object.

class Transform
  : teraflop.graphics.UniformBuffer!(gfm.math.matrix.Matrix!(float,4,4)) ;

Constructors

NameDescription
this (shaderStage)

Properties

NameTypeDescription
rotation[get] gfm.math.quaternion.Quaternion!(float)
scale[get, set] gfm.math.vector.Vector!(float,3)
translation[get, set] gfm.math.vector.Vector!(float,3)
value[get] gfm.math.matrix.Matrix!(float,4,4)The 3D transformation matrix.

See Also

teraflop.graphics.UniformBuffer