VRControllerComponentHandler

VRControllerComponentHandler

Handles loading of the VRController components

Constructor

new VRControllerComponentHandler(…args)

Parameters:
Name Type Attributes Description
args * <repeatable>

ComponentHandler constructor arguments.

Methods

update(entity, config, options)

Update engine component object based on the config.
EntityHandler._updateComponent() calls update() method from all subclasses of ComponentHandler.
This is an event-based function (for example it's called when Play button is hit or a new text file is added)

Parameters:
Name Type Description
entity Entity

The entity on which this component should be added.

config Object

The properties on this component

options Object