Class: Actor

Actor(reporter, settings)

new Actor(reporter, settings)

Parameters:
Name Type Description
reporter Reporter
settings Object
Source:

Members

body :Group

Type:
  • Group
Source:

visible :Boolean

Type:
  • Boolean
Source:

Methods

clearBody()

Removes all children from the body Group and disposes their Three.js resources (geometries, materials, textures) to prevent GPU memory leaks.
Source:

(async) updateBody(newContent)

Parameters:
Name Type Description
newContent Object3D
Source: