- invalidateTransform
void invalidateTransform()
Undocumented in source. Be warned that the author may not have intended to support it.
- lookAt
void lookAt(vec3 eye, vec3 center, vec3 up)
Undocumented in source. Be warned that the author may not have intended to support it.
- rotate
void rotate(float angle, vec3 axis)
rotate around custom axis
- rotateX
void rotateX(float angle)
- rotateY
void rotateY(float angle)
- rotateZ
void rotateZ(float angle)
- scale
void scale(vec3 value)
- scale
void scale(float value)
scale all axis by the same values
- scaleX
void scaleX(float value)
- scaleY
void scaleY(float value)
- scaleZ
void scaleZ(float value)
- setIdentity
void setIdentity()
set transform to identity transform
- translate
void translate(vec3 value)
- translateX
void translateX(float value)
- translateY
void translateY(float value)
- translateZ
void translateZ(float value)
- matrix
const(mat4) matrix [@property getter]
get transform matrix, recalculates if needed
- matrix
const(mat4) matrix [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- scaling
const(vec3) scaling [@property getter]
- scaling
vec3 scaling [@property setter]
- scaling
float scaling [@property setter]
set scale vector x, y, z to the same value
- scalingX
float scalingX [@property getter]
- scalingX
float scalingX [@property setter]
- scalingY
float scalingY [@property getter]
- scalingY
float scalingY [@property setter]
- scalingZ
float scalingZ [@property getter]
- scalingZ
float scalingZ [@property setter]
- translation
const(vec3) translation [@property getter]
- translation
vec3 translation [@property setter]
- translation
float translation [@property setter]
set translation vector x, y, z to the same value
- translationX
float translationX [@property getter]
- translationX
float translationX [@property setter]
- translationY
float translationY [@property getter]
- translationY
float translationY [@property setter]
- translationZ
float translationZ [@property getter]
- translationZ
float translationZ [@property setter]
3d transform: scale + translation + rotation