@babylonjs/viewer
Version:
The Babylon Viewer aims to simplify a specific but common Babylon.js use case: loading, viewing, and interacting with a 3D model.
3 lines (2 loc) • 936 B
JavaScript
import{c as t}from"./KHR_interactivity-D4lwBSW9.esm.min.js";import{R as e,d as i}from"./declarationMapper-D_filC93.esm.min.js";import{u as o}from"./index-BPURObVq.esm.min.js";import"./objectModelMapping-ClgDmo5Q.esm.min.js";import"./spotLight.pure-5s2DDDIt.esm.min.js";class s extends t{constructor(t){super(t),this.body=this.registerDataInput("body",e),this.motionType=this.registerDataInput("motionType",i,2)}_execute(t,e){const i=this.body.getValue(t);if(!i)return this._reportError(t,"No physics body provided"),void this.out._activateSignal(t);i.setMotionType(this.motionType.getValue(t)),this.out._activateSignal(t)}getClassName(){return"FlowGraphSetPhysicsMotionTypeBlock"}}let r=!1;function a(){r||(r=!0,o("FlowGraphSetPhysicsMotionTypeBlock",s))}a();export{s as FlowGraphSetPhysicsMotionTypeBlock,a as RegisterFlowGraphSetPhysicsMotionTypeBlock};
//# sourceMappingURL=flowGraphSetPhysicsMotionTypeBlock-CRoyLRSz.esm.min.js.map