ZTransform
20 items
constructorZTransform
constructor()constructor(position: ZVector3, rotation: ZQuaternion, scale: ZVector3)
valmatrix
Represents the transformation matrix that defines local transformation of an object in a 3D space.
varposition
Represents the position of the object in a 3D space.
var rotationEuler: ZEuler
Represents the rotation of the object using Euler angles in radians. The Euler angles define the rotation about the three principal axes (roll, pitch, yaw).
funlookAt
funrotate
funrotateAround
fun rotateAround(angle: Float, point: ZVector3, axis: ZVector3)fun rotateAround(angle: Float, point: ZVector3, axis: ZVector3, through: ZVector3)
funscale
funsetPosition
fun setPosition(x: Float, y: Float, z: Float)
funsetRotation
fun setRotation(angle: Float, axis: ZVector3)fun setRotation(angle: Float, x: Float, y: Float, z: Float)