MaterialDrawableObject

base drawable object with material

Constructors

this
this()
Undocumented in source.
this
this(Material material)
Undocumented in source.

Members

Functions

bindLight
MaterialDrawableObject bindLight(Light light)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(Node3d node, bool wireframe)
Undocumented in source. Be warned that the author may not have intended to support it.
unbindLight
MaterialDrawableObject unbindLight(Light light)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

autobindLights
bool autobindLights [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
autobindLights
bool autobindLights [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
lights
Node3d lights [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
material
MaterialRef material [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_lightParamsBuffer
LightParams _lightParamsBuffer;
Undocumented in source.

Variables

_autobindLights
bool _autobindLights;
Undocumented in source.
_lights
Lights _lights;
Undocumented in source.
_material
MaterialRef _material;
Undocumented in source.

Inherited Members

From DrawableObject

draw
void draw(Node3d node, bool wireframe)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta