Grids#
Grids#
Constructor#
|
Just a class to make accessing the grids easier |
Properties#
Whether this object casts shadows, i.e. whether it is rendered into a shadow map. |
|
tuple of children of this object. |
|
The object's geometry, the data that defines (the shape of) this object. |
|
An integer id smaller than 2**31 (read-only). |
|
The object's material, the data that defines the appearance of this object. |
|
An optional nonlinear transform, expressed as WGSL shader code, applied to the raw vertex positions. |
|
Object's parent in the scene graph (read-only). |
|
Whether this object receives shadows. |
|
Per-object rendering priority used to fine-tune the draw order within a render queue. |
|
Relic of old WorldObjects that aliases with the new |
|
Whether is object is rendered or not. |
|
xy grid |
|
xz grid |
|
yz grid |
Methods#
|
Add child objects. |
|
Register an event handler. |
|
Removes all children. |
Axis-aligned bounding box in local model space. |
|
Bounding Sphere in local model space. |
|
Axis aligned bounding box in world space. |
|
Bounding Sphere in world space. |
|
|
Handle an incoming event. |
|
Create a generator that iterates over this objects and its children. |
|
Orient the object so it looks at the given position. |
|
Release the pointer capture for the object that was registered to the given pointer_id. |
|
Removes object as child of this object. |
|
Unregister an event handler. |
|
Register this object to capture any other pointer events, until |
|
Executes the callback on this object and all descendants. |