@animech-public/playcanvas
Version:
PlayCanvas WebGL game engine
2 lines (1 loc) • 602 B
JavaScript
class t{constructor(t,s,e,r){t.set?(this._set=t.set,this._get=t.get):this._set=t,this._type=s,this._components=e,this._targetPath=r,this._isTransform="localRotation"===this._targetPath.substring(this._targetPath.length-13)||"localPosition"===this._targetPath.substring(this._targetPath.length-13)||"localScale"===this._targetPath.substring(this._targetPath.length-10)}get set(){return this._set}get get(){return this._get}get type(){return this._type}get components(){return this._components}get targetPath(){return this._targetPath}get isTransform(){return this._isTransform}}export{t as AnimTarget};