Polyphase Game Engine
Loading...
Searching...
No Matches
Spline3D Class Reference

#include <Spline3d.h>

Inheritance diagram for Spline3D:
Node3D Node Object

Classes

struct  PointSpeedEntry
 
struct  SplineLink
 

Public Member Functions

 DECLARE_NODE (Spline3D, Node3D)
 
virtual void Create () override
 
virtual void Start () override
 
virtual void Stop () override
 
virtual void Tick (float deltaTime) override
 
virtual void Copy (Node *srcNode, bool recurse) override
 
virtual void SaveStream (Stream &stream, Platform platform) override
 
virtual void LoadStream (Stream &stream, Platform platform, uint32_t version) override
 
virtual void GatherProperties (std::vector< Property > &props) override
 
virtual void GatherProxyDraws (std::vector< DebugDraw > &inoutDraws) override
 
void AddPoint (const glm::vec3 &p)
 
void ClearPoints ()
 
uint32_t GetPointCount () const
 
glm::vec3 GetPoint (uint32_t index) const
 
void SetPoint (uint32_t index, const glm::vec3 &p)
 
glm::vec3 GetPositionAt (float t) const
 
glm::vec3 GetTangentAt (float t) const
 
void Play ()
 
void StopPlayback ()
 
void SetPaused (bool paused)
 
bool IsPaused () const
 
void SetFollowLinkEnabled (uint32_t index, bool enabled)
 
bool IsFollowLinkEnabled (uint32_t index) const
 
bool IsNearLinkFrom (uint32_t index, float epsilon=0.05f) const
 
bool IsNearLinkTo (uint32_t index, float epsilon=0.05f) const
 
bool IsLinkDirectionForward (uint32_t index, float threshold=0.0f) const
 
bool TriggerLink (uint32_t index)
 
void CancelActiveLink ()
 
- Public Member Functions inherited from Node3D
 DECLARE_NODE (Node3D, Node)
 
 Node3D ()
 
virtual ~Node3D ()
 
virtual void Destroy () override
 
virtual const char * GetTypeName () const override
 
virtual void GatherReplicatedData (std::vector< NetDatum > &outData)
 
virtual bool IsNode3D () const override
 
void AttachToBone (SkeletalMesh3D *parent, const char *boneName, bool keepWorldTransform=false, int32_t childIndex=-1)
 
void AttachToBone (SkeletalMesh3D *parent, int32_t boneIndex, bool keepWorldTransform=false, int32_t childIndex=-1)
 
void MarkTransformDirty ()
 
bool IsTransformDirty () const
 
virtual void UpdateTransform (bool updateChildren)
 
virtual bool CheckNetRelevance (Node *playerNode) override
 
glm::vec3 GetPosition () const
 
glm::vec3 GetRotationEuler () const
 
glm::quat GetRotationQuat () const
 
glm::vec3 GetScale () const
 
glm::vec3 & GetPositionRef ()
 
glm::vec3 & GetRotationEulerRef ()
 
glm::quat & GetRotationQuatRef ()
 
glm::vec3 & GetScaleRef ()
 
const glm::mat4 & GetTransform ()
 
void SetPosition (glm::vec3 position)
 
void SetRotation (glm::vec3 rotation)
 
void SetRotation (glm::quat quat)
 
void SetScale (glm::vec3 scale)
 
virtual void SetTransform (const glm::mat4 &transform)
 
glm::vec3 GetWorldPosition ()
 
glm::vec3 GetWorldRotationEuler ()
 
glm::quat GetWorldRotationQuat ()
 
glm::vec3 GetWorldScale ()
 
void SetWorldPosition (glm::vec3 position)
 
void SetWorldRotation (glm::vec3 rotation)
 
void SetWorldRotation (glm::quat rotation)
 
void SetWorldScale (glm::vec3 scale)
 
void AddRotation (glm::quat rotation)
 
void AddRotation (glm::vec3 rotation)
 
void AddWorldRotation (glm::quat rotation)
 
void AddWorldRotation (glm::vec3 rotation)
 
void RotateAround (glm::vec3 pivot, glm::vec3 axis, float degrees)
 
void LookAt (glm::vec3 target, glm::vec3 up)
 
glm::vec3 GetCachedEulerRotation () const
 
glm::vec3 GetForwardVector ()
 
glm::vec3 GetRightVector ()
 
glm::vec3 GetUpVector ()
 
glm::mat4 GetParentTransform ()
 
int32_t GetParentBoneIndex () const
 
bool GetInheritTransform () const
 
void SetInheritTransform (bool inheritTransform)
 
virtual void Attach (Node *parent, bool keepWorldTransform=false, int32_t index=-1) override
 
- Public Member Functions inherited from Node
 DECLARE_FACTORY_MANAGER (Node)
 
 DECLARE_FACTORY (Node, Node)
 
 DECLARE_OBJECT (Node, Object)
 
 DECLARE_SCRIPT_LINK_BASE (Node)
 
 Node ()
 
virtual ~Node ()
 
void DestroyDeferred ()
 
void Doom ()
 
virtual void Render (PipelineConfig pipelineConfig)
 
virtual void Awake ()
 
virtual void PrepareTick (std::vector< NodePtrWeak > &outTickNodes, bool game, bool recurse)
 
virtual void EditorTick (float deltaTime)
 
uint32_t GetLastTickedFrame () const
 
virtual void Render ()
 
virtual void OnInstanced ()
 
virtual VertexType GetVertexType () const
 
virtual void GatherNetFuncs (std::vector< NetFunc > &outFuncs)
 
void GatherPropertyOverrides (std::vector< Property > &outOverrides)
 
void ApplyPropertyOverrides (const std::vector< Property > &overs)
 
virtual void BeginOverlap (Primitive3D *thisComp, Primitive3D *otherComp)
 
virtual void EndOverlap (Primitive3D *thisComp, Primitive3D *otherComp)
 
virtual void OnCollision (Primitive3D *thisComp, Primitive3D *otherComp, glm::vec3 impactPoint, glm::vec3 impactNormal, btPersistentManifold *manifold)
 
NodeId GetNodeId () const
 
uint64_t GetPersistentUuid () const
 
void SetPersistentUuid (uint64_t uuid)
 
void EnsurePersistentUuid ()
 
void EmitSignal (const std::string &name, const std::vector< Datum > &args)
 
void ConnectSignal (const std::string &name, Node *listener, SignalHandlerFP func)
 
void ConnectSignal (const std::string &name, Node *listener, const ScriptFunc &func)
 
void DisconnectSignal (const std::string &name, Node *listener)
 
void RenderShadow ()
 
void RenderSelected (bool renderChildren)
 
NodeCreateChild (TypeId nodeType)
 
NodeCreateChild (const char *typeName)
 
NodeCreateChildClone (Node *srcNode, bool recurse)
 
NodePtr Clone (bool recurse, bool instantiateLinkedScene=true, bool resolveNodePaths=false)
 
void DestroyAllChildren ()
 
NodeGetRoot ()
 
bool IsWorldRoot () const
 
NodeGetSubRoot ()
 
template<class NodeClass >
NodeClass * CreateChild ()
 
template<class NodeClass >
SharedPtr< NodeClass > CreateChildSp ()
 
template<class NodeClass >
NodeClass * CreateChild (const char *name)
 
template<class NodeClass >
SharedPtr< NodeClass > CreateChildSp (const char *name)
 
bool IsDestroyed () const
 
bool IsPendingDestroy () const
 
bool IsDoomed () const
 
bool HasStarted () const
 
bool HasAwoken () const
 
void EnableTick (bool enable)
 
bool IsTickEnabled () const
 
virtual void SetWorld (World *world, bool subRoot)
 
WorldGetWorld ()
 
void SetScene (Scene *scene)
 
SceneGetScene ()
 
uint8_t GetTargetScreen () const
 
void SetTargetScreen (uint8_t screen)
 
std::vector< NetDatum > & GetReplicatedData ()
 
void SetNetId (NetId id)
 
NetId GetNetId () const
 
NetHostId GetOwningHost () const
 
void SetOwningHost (NetHostId hostId, bool setAsPawn=false)
 
void SetReplicate (bool replicate)
 
bool IsReplicated () const
 
void SetReplicateTransform (bool repTransform)
 
bool IsTransformReplicated () const
 
void ForceReplication ()
 
void ClearForcedReplication ()
 
bool NeedsForcedReplication ()
 
bool IsAlwaysRelevant () const
 
void SetAlwaysRelevant (bool alwaysRelevant)
 
bool HasTag (const std::string &tag)
 
void AddTag (const std::string &tag)
 
void RemoveTag (const std::string &tag)
 
void SetName (const std::string &newName)
 
const std::string & GetName () const
 
virtual void SetActive (bool active)
 
bool IsActive (bool recurse=false) const
 
virtual void SetVisible (bool visible)
 
bool IsVisible (bool recurse=false) const
 
void SetTransient (bool transient)
 
virtual bool IsTransient () const
 
void SetPersistent (bool persistent)
 
bool IsPersistent () const
 
void SetDefault (bool isDefault)
 
bool IsDefault () const
 
void SetUserdataCreated (bool created)
 
bool IsUserdataCreated () const
 
virtual DrawData GetDrawData ()
 
virtual bool IsWidget () const
 
virtual bool IsPrimitive3D () const
 
virtual bool IsLight3D () const
 
NodeGetParent ()
 
const NodeGetParent () const
 
const std::vector< NodePtr > & GetChildren () const
 
void Detach (bool keepWorldTransform=false)
 
void AddChild (Node *child, int32_t index=-1)
 
void RemoveChild (Node *child)
 
void RemoveChild (int32_t index)
 
template<typename T >
void AddChild (const SharedPtr< T > &child, int32_t index=-1)
 
template<typename T >
void RemoveChild (const SharedPtr< Node > &child)
 
int32_t FindChildIndex (const std::string &name) const
 
int32_t FindChildIndex (Node *child) const
 
NodeFindChild (const std::string &name, bool recurse) const
 
NodeFindChildWithTag (const std::string &name, bool recurse) const
 
NodeFindDescendant (const std::string &name)
 
NodeFindAncestor (const std::string &name)
 
bool HasAncestor (Node *node)
 
NodeGetChild (int32_t index) const
 
NodeGetChildByType (TypeId type) const
 
uint32_t GetNumChildren () const
 
int32_t FindParentNodeIndex () const
 
void SetHitCheckId (uint32_t id)
 
uint32_t GetHitCheckId () const
 
bool IsLateTickEnabled () const
 
void EnableLateTick (bool enable)
 
ScriptGetScript ()
 
void SetScriptFile (const std::string &fileName)
 
bool DoChildrenHaveUniqueNames () const
 
void BreakSceneLink ()
 
bool IsSceneLinked (bool ignoreInPie=true) const
 
bool IsSceneLinkedChild (bool ignoreInPie=true)
 
bool IsForeign () const
 
bool HasAuthority () const
 
bool IsOwned () const
 
bool IsLocallyControlled () const
 
Datum GetField (const std::string &key)
 
void SetField (const std::string &name, const Datum &value)
 
Datum GetField (int32_t key)
 
void SetField (int32_t key, const Datum &value)
 
Datum CallFunction (const std::string &name, const std::vector< Datum > &args={})
 
NetFuncFindNetFunc (const char *name)
 
NetFuncFindNetFunc (uint16_t index)
 
void InvokeNetFunc (const char *name)
 
void InvokeNetFunc (const char *name, Datum param0)
 
void InvokeNetFunc (const char *name, Datum param0, Datum param1)
 
void InvokeNetFunc (const char *name, Datum param0, Datum param1, Datum param2)
 
void InvokeNetFunc (const char *name, Datum param0, Datum param1, Datum param2, Datum param3)
 
void InvokeNetFunc (const char *name, Datum param0, Datum param1, Datum param2, Datum param3, Datum param4)
 
void InvokeNetFunc (const char *name, Datum param0, Datum param1, Datum param2, Datum param3, Datum param4, Datum param5)
 
void InvokeNetFunc (const char *name, Datum param0, Datum param1, Datum param2, Datum param3, Datum param4, Datum param5, Datum param6)
 
void InvokeNetFunc (const char *name, Datum param0, Datum param1, Datum param2, Datum param3, Datum param4, Datum param5, Datum param6, Datum param7)
 
void InvokeNetFunc (const char *name, const std::vector< Datum > &params)
 
const WeakPtr< Node > & GetSelfPtr () const
 
template<typename T >
T * FindChild (const std::string &name, bool recurse)
 
template<typename T >
void Traverse (T func, bool inverted=false)
 
template<typename T >
bool ForEach (T func, bool inverted=false)
 
- Public Member Functions inherited from Object
virtual ~Object ()=default
 
virtual const char * RuntimeName () const =0
 
virtual const char * RuntimeParentName () const =0
 
virtual RuntimeId InstanceRuntimeId () const =0
 
virtual ObjectQueryInterface (RuntimeId id) const
 
virtual bool Is (RuntimeId id) const
 
virtual bool Is (const char *name) const
 
virtual bool DrawCustomProperty (Property &prop)
 
template<typename T >
T * As () const
 
virtual bool Equals (const Object *rhs) const
 

Static Public Member Functions

static bool HandlePropChange (Datum *datum, uint32_t index, const void *newValue)
 
static glm::vec3 CatmullRom (const glm::vec3 &p0, const glm::vec3 &p1, const glm::vec3 &p2, const glm::vec3 &p3, float t)
 
static glm::vec3 CatmullRomTangent (const glm::vec3 &p0, const glm::vec3 &p1, const glm::vec3 &p2, const glm::vec3 &p3, float t)
 
static void SetSplineLinesVisible (bool visible)
 
static bool IsSplineLinesVisible ()
 
- Static Public Member Functions inherited from Node3D
static bool OnRep_RootPosition (Datum *datum, uint32_t index, const void *newValue)
 
static bool OnRep_RootRotation (Datum *datum, uint32_t index, const void *newValue)
 
static bool OnRep_RootScale (Datum *datum, uint32_t index, const void *newValue)
 
- Static Public Member Functions inherited from Node
static NodePtr Construct (const std::string &name)
 
static NodePtr Construct (TypeId typeId)
 
static void Destruct (Node *node)
 
static void ProcessPendingDestroys ()
 
static void RegisterNetFuncs (Node *node)
 
static void Deleter (Node *node)
 
template<class NodeClass >
static SharedPtr< NodeClass > Construct ()
 
- Static Public Member Functions inherited from Object
static const char * ClassRuntimeName ()
 

Protected Member Functions

void GeneratePoint ()
 
SplineLinkGetLinkByIndex (uint32_t index)
 
const SplineLinkGetLinkByIndex (uint32_t index) const
 
void EnsureLinkSlots (uint32_t count)
 
- Protected Member Functions inherited from Node3D
virtual void SetParent (Node *parent) override
 
- Protected Member Functions inherited from Node
void TickCommon (float deltaTime)
 
void ValidateUniqueChildName (Node *newChild)
 
void SendNetFunc (NetFunc *func, uint32_t numParams, const Datum **params)
 

Protected Attributes

std::vector< glm::vec3 > mPoints
 
NodePtrWeak mAttachmentCamera
 
NodePtrWeak mAttachmentStaticMesh
 
NodePtrWeak mAttachmentSkeletalMesh
 
NodePtrWeak mAttachmentParticle3D
 
NodePtrWeak mAttachmentPointLight
 
NodePtrWeak mAttachmentAudio3D
 
NodePtrWeak mAttachmentNode3D
 
std::vector< SplineLinkmLinks
 
bool mLinkActive = false
 
bool mDisableBounce = false
 
float mLinkSpeedModifier = 1.0f
 
int32_t mGeneratedLinkCount = 10
 
float mActiveLinkSpeedModifier = 1.0f
 
bool mLinkSmoothStep = false
 
bool mLinkSmoothRotate = false
 
float mLinkTravel = 0.0f
 
float mLinkLen = 0.0f
 
glm::vec3 mLinkStart = glm::vec3(0.0f)
 
glm::vec3 mLinkEnd = glm::vec3(0.0f)
 
NodePtrWeak mLinkTargetSpline
 
float mLinkTargetStartDist = 0.0f
 
float mLinkTargetPrevDist = 0.0f
 
float mLinkTargetTotalLen = 0.0f
 
glm::mat4 mOrigCamTransform = glm::mat4(1.0f)
 
glm::mat4 mOrigStaticTransform = glm::mat4(1.0f)
 
glm::mat4 mOrigSkeletalTransform = glm::mat4(1.0f)
 
glm::mat4 mOrigParticleTransform = glm::mat4(1.0f)
 
glm::mat4 mOrigPointLightTransform = glm::mat4(1.0f)
 
glm::mat4 mOrigAudioTransform = glm::mat4(1.0f)
 
glm::mat4 mOrigNodeTransform = glm::mat4(1.0f)
 
float mSpeed = 2.0f
 
bool mPlaying = false
 
bool mLoop = true
 
bool mCloseLoop = false
 
bool mPingPong = false
 
bool mPingPongForward = true
 
bool mSmoothCurve = true
 
bool mSmoothRotate = false
 
bool mPause = false
 
bool mFaceTangent = false
 
bool mReverseFaceTangent = false
 
float mTravel = 0.0f
 
bool mHasTrackedPos = false
 
glm::vec3 mPrevTrackedPos = glm::vec3(0.0f)
 
glm::vec3 mTrackedMoveDir = glm::vec3(0.0f)
 
std::vector< PointSpeedEntrymPointSpeedEntries
 
NodePtrWeak mPointSpeedTarget
 
float mPointSpeedValue = 1.0f
 
bool mPointSmoothInValue = false
 
bool mPointSmoothOutValue = false
 
bool mPointSmoothCurveValue = false
 
- Protected Attributes inherited from Node3D
glm::vec3 mPosition
 
glm::vec3 mRotationEuler
 
glm::vec3 mScale
 
glm::quat mRotationQuat
 
glm::mat4 mTransform
 
int32_t mParentBoneIndex
 
bool mInheritTransform = true
 
bool mTransformDirty
 
- Protected Attributes inherited from Node
std::string mName
 
WorldmWorld = nullptr
 
NodePtrWeak mParent
 
NodePtrWeak mSelf
 
std::vector< NodePtrmChildren
 
std::unordered_map< std::string, Node * > mChildNameMap
 
std::unordered_map< std::string, SignalmSignalMap
 
std::string mScriptFile
 
uint32_t mLastTickedFrame = 0
 
bool mActive = true
 
bool mVisible = true
 
bool mTransient = false
 
bool mPersistent = false
 
bool mDefault = false
 
bool mUserdataCreated = false
 
bool mHasStarted = false
 
bool mHasAwoken = false
 
bool mDestroyed = false
 
bool mTickEnabled = true
 
bool mLateTick = false
 
SceneRef mScene
 
uint8_t mTargetScreen = 0
 
std::vector< std::string > mTags
 
NodeId mNodeId = INVALID_NODE_ID
 
uint64_t mPersistentUuid = 0
 
std::vector< NetDatummReplicatedData
 
NetId mNetId = INVALID_NET_ID
 
NetHostId mOwningHost = INVALID_HOST_ID
 
bool mReplicate = false
 
bool mReplicateTransform = false
 
bool mForceReplicate = false
 
bool mAlwaysRelevant = true
 
ScriptmScript = nullptr
 

Additional Inherited Members

- Static Protected Member Functions inherited from Node
static bool HandlePropChange (Datum *datum, uint32_t index, const void *newValue)
 
static bool OnRep_OwningHost (Datum *datum, uint32_t index, const void *newValue)
 
- Static Protected Attributes inherited from Node
static std::unordered_map< TypeId, NetFuncMapsTypeNetFuncMap
 
static std::unordered_set< NodePtrWeaksPendingDestroySet
 
static NodeId sNextNodeId = NodeId(1)
 

Member Function Documentation

◆ AddPoint()

void Spline3D::AddPoint ( const glm::vec3 &  p)

◆ CancelActiveLink()

void Spline3D::CancelActiveLink ( )

◆ CatmullRom()

glm::vec3 Spline3D::CatmullRom ( const glm::vec3 &  p0,
const glm::vec3 &  p1,
const glm::vec3 &  p2,
const glm::vec3 &  p3,
float  t 
)
static

◆ CatmullRomTangent()

glm::vec3 Spline3D::CatmullRomTangent ( const glm::vec3 &  p0,
const glm::vec3 &  p1,
const glm::vec3 &  p2,
const glm::vec3 &  p3,
float  t 
)
static

◆ ClearPoints()

void Spline3D::ClearPoints ( )

◆ Copy()

void Spline3D::Copy ( Node srcNode,
bool  recurse 
)
overridevirtual

Reimplemented from Node.

◆ Create()

void Spline3D::Create ( )
overridevirtual

Reimplemented from Node3D.

◆ DECLARE_NODE()

Spline3D::DECLARE_NODE ( Spline3D  ,
Node3D   
)

◆ EnsureLinkSlots()

void Spline3D::EnsureLinkSlots ( uint32_t  count)
protected

◆ GatherProperties()

void Spline3D::GatherProperties ( std::vector< Property > &  props)
overridevirtual

Reimplemented from Node3D.

◆ GatherProxyDraws()

void Spline3D::GatherProxyDraws ( std::vector< DebugDraw > &  inoutDraws)
overridevirtual

Reimplemented from Node3D.

◆ GeneratePoint()

void Spline3D::GeneratePoint ( )
protected

◆ GetLinkByIndex() [1/2]

Spline3D::SplineLink * Spline3D::GetLinkByIndex ( uint32_t  index)
protected

◆ GetLinkByIndex() [2/2]

const Spline3D::SplineLink * Spline3D::GetLinkByIndex ( uint32_t  index) const
protected

◆ GetPoint()

glm::vec3 Spline3D::GetPoint ( uint32_t  index) const

◆ GetPointCount()

uint32_t Spline3D::GetPointCount ( ) const

◆ GetPositionAt()

glm::vec3 Spline3D::GetPositionAt ( float  t) const

◆ GetTangentAt()

glm::vec3 Spline3D::GetTangentAt ( float  t) const

◆ HandlePropChange()

bool Spline3D::HandlePropChange ( Datum datum,
uint32_t  index,
const void *  newValue 
)
static

◆ IsFollowLinkEnabled()

bool Spline3D::IsFollowLinkEnabled ( uint32_t  index) const

◆ IsLinkDirectionForward()

bool Spline3D::IsLinkDirectionForward ( uint32_t  index,
float  threshold = 0.0f 
) const

◆ IsNearLinkFrom()

bool Spline3D::IsNearLinkFrom ( uint32_t  index,
float  epsilon = 0.05f 
) const

◆ IsNearLinkTo()

bool Spline3D::IsNearLinkTo ( uint32_t  index,
float  epsilon = 0.05f 
) const

◆ IsPaused()

bool Spline3D::IsPaused ( ) const

◆ IsSplineLinesVisible()

bool Spline3D::IsSplineLinesVisible ( )
static

◆ LoadStream()

void Spline3D::LoadStream ( Stream stream,
Platform  platform,
uint32_t  version 
)
overridevirtual

Reimplemented from Node.

◆ Play()

void Spline3D::Play ( )

◆ SaveStream()

void Spline3D::SaveStream ( Stream stream,
Platform  platform 
)
overridevirtual

Reimplemented from Node.

◆ SetFollowLinkEnabled()

void Spline3D::SetFollowLinkEnabled ( uint32_t  index,
bool  enabled 
)

◆ SetPaused()

void Spline3D::SetPaused ( bool  paused)

◆ SetPoint()

void Spline3D::SetPoint ( uint32_t  index,
const glm::vec3 &  p 
)

◆ SetSplineLinesVisible()

void Spline3D::SetSplineLinesVisible ( bool  visible)
static

◆ Start()

void Spline3D::Start ( )
overridevirtual

Reimplemented from Node.

◆ Stop()

void Spline3D::Stop ( )
overridevirtual

Reimplemented from Node.

◆ StopPlayback()

void Spline3D::StopPlayback ( )

◆ Tick()

void Spline3D::Tick ( float  deltaTime)
overridevirtual

Reimplemented from Node3D.

◆ TriggerLink()

bool Spline3D::TriggerLink ( uint32_t  index)

Member Data Documentation

◆ mActiveLinkSpeedModifier

float Spline3D::mActiveLinkSpeedModifier = 1.0f
protected

◆ mAttachmentAudio3D

NodePtrWeak Spline3D::mAttachmentAudio3D
protected

◆ mAttachmentCamera

NodePtrWeak Spline3D::mAttachmentCamera
protected

◆ mAttachmentNode3D

NodePtrWeak Spline3D::mAttachmentNode3D
protected

◆ mAttachmentParticle3D

NodePtrWeak Spline3D::mAttachmentParticle3D
protected

◆ mAttachmentPointLight

NodePtrWeak Spline3D::mAttachmentPointLight
protected

◆ mAttachmentSkeletalMesh

NodePtrWeak Spline3D::mAttachmentSkeletalMesh
protected

◆ mAttachmentStaticMesh

NodePtrWeak Spline3D::mAttachmentStaticMesh
protected

◆ mCloseLoop

bool Spline3D::mCloseLoop = false
protected

◆ mDisableBounce

bool Spline3D::mDisableBounce = false
protected

◆ mFaceTangent

bool Spline3D::mFaceTangent = false
protected

◆ mGeneratedLinkCount

int32_t Spline3D::mGeneratedLinkCount = 10
protected

◆ mHasTrackedPos

bool Spline3D::mHasTrackedPos = false
protected

◆ mLinkActive

bool Spline3D::mLinkActive = false
protected

◆ mLinkEnd

glm::vec3 Spline3D::mLinkEnd = glm::vec3(0.0f)
protected

◆ mLinkLen

float Spline3D::mLinkLen = 0.0f
protected

◆ mLinks

std::vector<SplineLink> Spline3D::mLinks
protected

◆ mLinkSmoothRotate

bool Spline3D::mLinkSmoothRotate = false
protected

◆ mLinkSmoothStep

bool Spline3D::mLinkSmoothStep = false
protected

◆ mLinkSpeedModifier

float Spline3D::mLinkSpeedModifier = 1.0f
protected

◆ mLinkStart

glm::vec3 Spline3D::mLinkStart = glm::vec3(0.0f)
protected

◆ mLinkTargetPrevDist

float Spline3D::mLinkTargetPrevDist = 0.0f
protected

◆ mLinkTargetSpline

NodePtrWeak Spline3D::mLinkTargetSpline
protected

◆ mLinkTargetStartDist

float Spline3D::mLinkTargetStartDist = 0.0f
protected

◆ mLinkTargetTotalLen

float Spline3D::mLinkTargetTotalLen = 0.0f
protected

◆ mLinkTravel

float Spline3D::mLinkTravel = 0.0f
protected

◆ mLoop

bool Spline3D::mLoop = true
protected

◆ mOrigAudioTransform

glm::mat4 Spline3D::mOrigAudioTransform = glm::mat4(1.0f)
protected

◆ mOrigCamTransform

glm::mat4 Spline3D::mOrigCamTransform = glm::mat4(1.0f)
protected

◆ mOrigNodeTransform

glm::mat4 Spline3D::mOrigNodeTransform = glm::mat4(1.0f)
protected

◆ mOrigParticleTransform

glm::mat4 Spline3D::mOrigParticleTransform = glm::mat4(1.0f)
protected

◆ mOrigPointLightTransform

glm::mat4 Spline3D::mOrigPointLightTransform = glm::mat4(1.0f)
protected

◆ mOrigSkeletalTransform

glm::mat4 Spline3D::mOrigSkeletalTransform = glm::mat4(1.0f)
protected

◆ mOrigStaticTransform

glm::mat4 Spline3D::mOrigStaticTransform = glm::mat4(1.0f)
protected

◆ mPause

bool Spline3D::mPause = false
protected

◆ mPingPong

bool Spline3D::mPingPong = false
protected

◆ mPingPongForward

bool Spline3D::mPingPongForward = true
protected

◆ mPlaying

bool Spline3D::mPlaying = false
protected

◆ mPoints

std::vector<glm::vec3> Spline3D::mPoints
protected

◆ mPointSmoothCurveValue

bool Spline3D::mPointSmoothCurveValue = false
protected

◆ mPointSmoothInValue

bool Spline3D::mPointSmoothInValue = false
protected

◆ mPointSmoothOutValue

bool Spline3D::mPointSmoothOutValue = false
protected

◆ mPointSpeedEntries

std::vector<PointSpeedEntry> Spline3D::mPointSpeedEntries
protected

◆ mPointSpeedTarget

NodePtrWeak Spline3D::mPointSpeedTarget
protected

◆ mPointSpeedValue

float Spline3D::mPointSpeedValue = 1.0f
protected

◆ mPrevTrackedPos

glm::vec3 Spline3D::mPrevTrackedPos = glm::vec3(0.0f)
protected

◆ mReverseFaceTangent

bool Spline3D::mReverseFaceTangent = false
protected

◆ mSmoothCurve

bool Spline3D::mSmoothCurve = true
protected

◆ mSmoothRotate

bool Spline3D::mSmoothRotate = false
protected

◆ mSpeed

float Spline3D::mSpeed = 2.0f
protected

◆ mTrackedMoveDir

glm::vec3 Spline3D::mTrackedMoveDir = glm::vec3(0.0f)
protected

◆ mTravel

float Spline3D::mTravel = 0.0f
protected

The documentation for this class was generated from the following files: