import { ModelScene } from "https://deno.land/x/remapper@3.1.2/src/model.ts";
Constructors
Properties
Spawn every object in a group with a unique material. Allows colors from models to be applied to geometry. Should be used with caution as it creates a unique material per object.
optimizer: OptimizeSettings
Methods
private
getFirstTransform(obj: ModelObject)private
getFirstValues(keyframes: RawKeyframesVec3)private
getObjects(input: AnimatedObjectInput)private
pushGroup(key: string | undefined,
object?: GroupObjectTypes,
scale?: Vec3,
anchor?: Vec3,
rotation?: Vec3,
changeGroup?: (group: ModelGroup) => void,
animate(switches: [], forObject?: (object: GroupObjectTypes) => void)
Create an animated environment from possibly multiple sources of data.
Assign a track in input ModelObjects to animate an existing object with identical track name.
static()
input: StaticObjectInput,
forObject?: (object: GroupObjectTypes) => void,
forAssigned?: (event: CustomEventInternals.AnimateTrack) => void,
Create a one-time environment from static data.