- activeCamera
Camera activeCamera [@property getter]
active camera or null of no camera
- cameraPosition
vec3 cameraPosition [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- childCount
int childCount [@property getter]
- children
ObjectList!Node3d children [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- drawable
DrawableObjectRef drawable [@property getter]
drawable attached to node
- forwardVectorView
vec3 forwardVectorView [@property getter]
Returns the forward vector of the Node in view space.
- forwardVectorWorld
vec3 forwardVectorWorld [@property getter]
Returns the forward vector of the Node in world space.
- id
string id [@property getter]
- id
string id [@property setter]
- inverseTransposeWorldMatrix
const(mat4) inverseTransposeWorldMatrix [@property getter]
Gets the inverse transpose world matrix corresponding to this node.
- inverseTransposeWorldViewMatrix
const(mat4) inverseTransposeWorldViewMatrix [@property getter]
Gets the inverse transpose world view matrix corresponding to this node.
- light
LightRef light [@property getter]
- light
Light light [@property setter]
- parent
Node3d parent [@property getter]
- parent
Node3d parent [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- projectionViewMatrix
const(mat4) projectionViewMatrix [@property getter]
get projection*view matrix based on active camera
- projectionViewModelMatrix
const(mat4) projectionViewModelMatrix [@property getter]
returns projectionMatrix * viewMatrix * modelMatrix
- scene
Scene3d scene [@property getter]
- scene
Scene3d scene [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- translationView
vec3 translationView [@property getter]
returns translation vector (position) of this node in view space
- translationWorld
vec3 translationWorld [@property getter]
returns translation vector (position) of this node in world space
- viewMatrix
const(mat4) viewMatrix [@property getter]
get view matrix based on active camera
- visible
bool visible [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- visible
bool visible [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
- worldMatrix
const(mat4) worldMatrix [@property getter]
- worldViewMatrix
const(mat4) worldViewMatrix [@property getter]
Gets the world view matrix corresponding to this node.
- _dirtyTransform
bool _dirtyTransform;
Undocumented in source.
- _hasScale
bool _hasScale;
Undocumented in source.
- _hasTranslation
bool _hasTranslation;
Undocumented in source.
- _hasRotation
bool _hasRotation;
Undocumented in source.
- _scale
vec3 _scale;
Undocumented in source.
- _translation
vec3 _translation;
Undocumented in source.
- _rotation
mat4 _rotation;
Undocumented in source.
- _matrix
mat4 _matrix;
Undocumented in source.
- invalidateTransform
void invalidateTransform()
Undocumented in source. Be warned that the author may not have intended to support it.
- scaling
const(vec3) scaling [@property getter]
- scalingX
float scalingX [@property getter]
- scalingY
float scalingY [@property getter]
- scalingZ
float scalingZ [@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 setter]
- scalingY
float scalingY [@property setter]
- scalingZ
float scalingZ [@property setter]
- translation
const(vec3) translation [@property getter]
- translationX
float translationX [@property getter]
- translationY
float translationY [@property getter]
- translationZ
float translationZ [@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 setter]
- translationY
float translationY [@property setter]
- translationZ
float translationZ [@property setter]
- translate
void translate(vec3 value)
- translateX
void translateX(float value)
- translateY
void translateY(float value)
- translateZ
void translateZ(float value)
- 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)
- rotateX
void rotateX(float angle)
- rotateY
void rotateY(float angle)
- rotateZ
void rotateZ(float angle)
- rotate
void rotate(float angle, vec3 axis)
rotate around custom axis
- setIdentity
void setIdentity()
set transform to identity transform
- 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.
- lookAt
void lookAt(vec3 eye, vec3 center, vec3 up)
Undocumented in source. Be warned that the author may not have intended to support it.
3D scene node