CLASSES
TagsA - Z

SetParentAction

Action

Description

class SetParentAction extends Action

Constructor

new SetParentAction(triggerOptions, target, parent, condition)

Used to define the parent of a node (camera, light, mesh)

Parameters

Name Type Description
triggerOptions any The trigger options
target any The target of the action
parent any The object parent

Methods

execute() void

serialize(parent) any

Parameters

Name Type Description
parent any The object parent