ZernikalosmathZTransformZTransform Members Constructors ZTransform Link copied to clipboard constructor()constructor(position: ZVector3, rotation: ZQuaternion, scale: ZVector3) Properties forward Link copied to clipboard var forward: ZVector3 matrix Link copied to clipboard val matrix: ZMatrix4Represents the transformation matrix that defines local transformation of an object in a 3D space. position Link copied to clipboard var position: ZVector3Represents the position of the object in a 3D space. right Link copied to clipboard var right: ZVector3 rotation Link copied to clipboard var rotation: ZQuaternionRepresents the rotation of the object in a 3D space. scale Link copied to clipboard var scale: ZVector3Represents the scale of the object in a 3D space. up Link copied to clipboard var up: ZVector3 Functions lookAt Link copied to clipboard fun lookAt(look: ZVector3)fun lookAt(look: ZVector3, up: ZVector3) pan Link copied to clipboard fun pan(offset: ZVector2)fun pan(offsetRight: Float, offsetUp: Float)Adjusts the position of the object by panning it to the right and up directions. rotate Link copied to clipboard fun rotate(q: ZQuaternion)fun rotate(angle: Float, axis: ZVector3)fun rotate(angle: Float, x: Float, y: Float, z: Float) rotateAround Link copied to clipboard fun rotateAround(angle: Float, point: ZVector3, axis: ZVector3)fun rotateAround(angle: Float, point: ZVector3, axis: ZVector3, through: ZVector3) scale Link copied to clipboard fun scale(s: Float)fun scale(v: ZVector3)fun scale(sx: Float, sy: Float, sz: Float) setPosition Link copied to clipboard fun setPosition(x: Float, y: Float, z: Float) setRotation Link copied to clipboard fun setRotation(angle: Float, axis: ZVector3)fun setRotation(angle: Float, x: Float, y: Float, z: Float) translate Link copied to clipboard fun translate(v: ZVector3)fun translate(x: Float, y: Float, z: Float)