@vatom/3d-face
Version:
This vAtom face can plug into the SDKs to render 3D content in either binary glTF or V3D format.
14 lines (9 loc) • 348 B
JavaScript
//
// Represents an animation trigger - An action, source, and a list of animations to apply to a list of objects.
function AnimationTrigger(scene, metadata) {
// Store properties
this.scene = scene;
this.name = metadata["name"] || "";
this.type = metadata["trigger.type"];
}
module.exports = AnimationTrigger;