UNPKG

@needle-tools/engine

Version:

Needle Engine is a web-based runtime for 3D apps. It runs on your machine for development with great integrations into editors like Unity or Blender - and can be deployed onto any device! It is flexible, extensible and networking and XR are built-in.

9 lines (8 loc) 596 B
import { Object3D } from "three"; /** Internal method - This marks an object as being animated. Make sure to always call isAnimated=false if you stop animating the object * @param obj The object to mark * @param isAnimated Whether the object is animated or not */ export declare function setObjectAnimated(obj: Object3D, animatedBy: object, isAnimated: boolean): void; /** Get is the object is currently animated. Currently used by the Animator to check if a timeline animationtrack is actively animating an object */ export declare function getObjectAnimated(obj: Object3D): boolean;