mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 23:24:41 +00:00
adds an animspeed and animoffset to tsstatic instances so clones can be set to break up syncing on multiples
This commit is contained in:
parent
341c7eeee1
commit
136bc8874f
2 changed files with 43 additions and 13 deletions
|
|
@ -48,6 +48,10 @@
|
|||
#include "scene/reflector.h"
|
||||
#endif
|
||||
|
||||
#ifndef _COLLADA_UTILS_H_
|
||||
#include "ts/collada/colladaUtils.h"
|
||||
#endif
|
||||
|
||||
#ifndef _ASSET_PTR_H_
|
||||
#include "assets/assetPtr.h"
|
||||
#endif
|
||||
|
|
@ -202,8 +206,9 @@ protected:
|
|||
String mAppliedSkinName;
|
||||
|
||||
bool mPlayAmbient;
|
||||
TSThread* mAmbientThread;
|
||||
|
||||
TSThread* mAmbientThread;
|
||||
F32 mAnimOffset;
|
||||
F32 mAnimSpeed;
|
||||
/// The type of mesh data to return for collision queries.
|
||||
MeshType mCollisionType;
|
||||
|
||||
|
|
@ -272,6 +277,7 @@ public:
|
|||
const Vector<S32>& getCollisionDetails() const { return mCollisionDetails; }
|
||||
|
||||
const Vector<S32>& getLOSDetails() const { return mLOSDetails; }
|
||||
bool hasAnim() { return mAmbientThread != NULL; }
|
||||
|
||||
virtual void onInspect(GuiInspector*);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue