RenderSystem
Classes
Functions
RenderSystem
Deprecated
Kind: global class
RenderSystem- new RenderSystem(graphicsEngine)
- .renderLayer :
RenderLayer
|null
- .bvh :
BVH
- .graphics :
GraphicsEngine
- .link(renderable, transform, entity)
- .unlink(renderable, transform, entity)
- .query_geometry_raycast_nearest(result, origin_x, origin_y, origin_z, direction_x, direction_y, direction_z, [filter], [filterContext]) ⇒
number
new RenderSystem(graphicsEngine)
Param | Type |
---|---|
graphicsEngine | GraphicsEngine |
renderSystem.renderLayer : RenderLayer
| null
Kind: instance property of RenderSystem
renderSystem.bvh : BVH
Kind: instance property of RenderSystem
renderSystem.graphics : GraphicsEngine
Kind: instance property of RenderSystem
renderSystem.link(renderable, transform, entity)
Kind: instance method of RenderSystem
Param | Type |
---|---|
renderable | Renderable |
transform | Transform |
entity | int |
renderSystem.unlink(renderable, transform, entity)
Kind: instance method of RenderSystem
Param | Type |
---|---|
renderable | Renderable |
transform | Transform |
entity | int |
renderSystem.query_geometry_raycast_nearest(result, origin_x, origin_y, origin_z, direction_x, direction_y, direction_z, [filter], [filterContext]) ⇒ number
Kind: instance method of RenderSystem
Returns: number
- Entity ID, or -1 if no hit found
Param | Type |
---|---|
result | SurfacePoint3 |
origin_x | number |
origin_y | number |
origin_z | number |
direction_x | number |
direction_y | number |
direction_z | number |
[filter] | function |
[filterContext] | * |
updateMeshTransform(component)
Kind: global function
Param | Type |
---|---|
component | Renderable |
updateMeshTransform~m : THREE.Object3D
Kind: inner constant of updateMeshTransform