CLASSES
TagsA - Z

RayHelper

Description

class RayHelper

Constructor

new RayHelper(ray)

Parameters

Name Type Description
ray Ray

Members

ray : Nullable<Ray>

Methods

static CreateAndShow(ray, scene, color) RayHelper

Parameters

Name Type Description
ray Ray
scene Scene
color Color3

show(scene, color) void

Parameters

Name Type Description
scene Scene
color Color3

hide() void

attachToMesh(mesh, meshSpaceDirection, meshSpaceOrigin, length) void

Parameters

Name Type Description
mesh AbstractMesh
optional meshSpaceDirection Vector3
optional meshSpaceOrigin Vector3

detachFromMesh() void

dispose() void