Skip to main content

RenderSystem

Classes

RenderSystem

Functions

updateMeshTransform(component)

RenderSystem

Deprecated

Kind: global class

new RenderSystem(graphicsEngine)

ParamType
graphicsEngineGraphicsEngine

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

ParamType
renderableRenderable
transformTransform
entityint

renderSystem.unlink(renderable, transform, entity)

Kind: instance method of RenderSystem

ParamType
renderableRenderable
transformTransform
entityint

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

ParamType
resultSurfacePoint3
origin_xnumber
origin_ynumber
origin_znumber
direction_xnumber
direction_ynumber
direction_znumber
[filter]function
[filterContext]*

updateMeshTransform(component)

Kind: global function

ParamType
componentRenderable

updateMeshTransform~m : THREE.Object3D

Kind: inner constant of updateMeshTransform