CommonLibSSE (Parapets fork)
RE::NiTimeController Class Referenceabstract

#include <NiTimeController.h>

Inheritance diagram for RE::NiTimeController:
RE::NiObject RE::NiRefObject RE::NiControllerManager RE::NiInterpController RE::NiMultiTargetTransformController

Public Types

enum class  CycleType { kLoop , kReverse , kClamp , kTotal }
 
enum class  Flag {
  kAnimType_AppTime = 0 << 0 , kAnimType_AppInit = 1 << 0 , kAnimType_Mask = 1 , kCycleType_Loop = 0 << 1 ,
  kCycleType_Reverse = 1 << 1 , kCycleType_Clamp = 2 << 1 , kCycleType_Mask = 6 , kActive = 1 << 3 ,
  kPlayBackwards = 1 << 4 , kManagerControlled = 1 << 5 , kComputeScaledTime = 1 << 6 , kForceUpdate = 1 << 7
}
 

Public Member Functions

 NiTimeController ()
 
 ~NiTimeController () override
 
const NiRTTIGetRTTI () const override
 
void LoadBinary (NiStream &a_stream) override
 
void LinkObject (NiStream &a_stream) override
 
bool RegisterStreamables (NiStream &a_stream) override
 
void SaveBinary (NiStream &a_stream) override
 
bool IsEqual (NiObject *a_object) override
 
void ProcessClone (NiCloningProcess &a_cloning) override
 
virtual void Start (float a_time)
 
virtual void Stop ()
 
virtual void Update (float a_time)=0
 
virtual void SetTarget (NiObjectNET *a_target)
 
virtual bool IsTransformController () const
 
virtual bool IsVertexController () const
 
virtual float ComputeScaledTime (float a_time)
 
virtual void OnPreDisplay ()
 
virtual bool IsStreamable () const
 
virtual bool TargetIsRequiredType () const =0
 
constexpr NiTimeControllerGetNext () const noexcept
 
- Public Member Functions inherited from RE::NiObject
 ~NiObject () override=default
 
virtual NiNodeAsNode ()
 
virtual NiSwitchNode * AsSwitchNode ()
 
virtual BSFadeNodeAsFadeNode ()
 
virtual BSMultiBoundNodeAsMultiBoundNode ()
 
virtual BSGeometryAsGeometry ()
 
virtual NiTriStrips * AsTriStrips ()
 
virtual BSTriShapeAsTriShape ()
 
virtual BSSegmentedTriShape * AsSegmentedTriShape ()
 
virtual BSSubIndexTriShape * AsSubIndexTriShape ()
 
virtual BSDynamicTriShape * AsDynamicTriShape ()
 
virtual NiGeometry * AsNiGeometry ()
 
virtual NiTriBasedGeom * AsNiTriBasedGeom ()
 
virtual NiTriShape * AsNiTriShape ()
 
virtual NiParticles * AsParticlesGeom ()
 
virtual BSLines * AsLinesGeom ()
 
virtual bhkNiCollisionObjectAsBhkNiCollisionObject ()
 
virtual bhkBlendCollisionObject * AsBhkBlendCollisionObject ()
 
virtual bhkAttachmentCollisionObject * AsBhkAttachmentCollisionObject ()
 
virtual bhkRigidBodyAsBhkRigidBody ()
 
virtual bhkLimitedHingeConstraint * AsBhkLimitedHingeConstraint ()
 
virtual NiObjectCreateClone ([[maybe_unused]] NiCloningProcess &a_cloning)
 
virtual void LoadBinary ([[maybe_unused]] NiStream &a_stream)
 
virtual void LinkObject ([[maybe_unused]] NiStream &a_stream)
 
virtual void SaveBinary ([[maybe_unused]] NiStream &a_stream)
 
virtual void PostLinkObject ([[maybe_unused]] NiStream &a_stream)
 
virtual bool StreamCanSkip ()
 
virtual const NiRTTIGetStreamableRTTI () const
 
virtual std::uint32_t GetBlockAllocationSize () const
 
virtual NiObjectGroup * GetGroup () const
 
virtual void SetGroup ([[maybe_unused]] NiObjectGroup *a_group)
 
virtual NiControllerManagerAsNiControllerManager ()
 
void CreateDeepCopy (NiPointer< NiObject > &a_object)
 
- Public Member Functions inherited from RE::NiRefObject
 NiRefObject ()
 
virtual ~NiRefObject ()
 
virtual void DeleteThis ()
 
void IncRefCount ()
 
void DecRefCount ()
 
constexpr std::uint32_t GetRefCount () const noexcept
 
 TES_HEAP_REDEFINE_NEW ()
 

Public Attributes

stl::enumeration< Flag, std::uint16_t > flags
 
std::uint16_t pad12
 
float frequency
 
float phase
 
float loKeyTime
 
float hiKeyTime
 
float startTime
 
float lastTime
 
float weightedLastTime
 
float scaledTime
 
std::uint32_t pad34
 
NiObjectNETtarget
 
NiPointer< NiTimeControllernext
 
- Public Attributes inherited from RE::NiRefObject
volatile std::uint32_t _refCount { 0 }
 
std::uint32_t _pad0C { 0 }
 

Static Public Attributes

static constexpr auto RTTI = RTTI_NiTimeController
 
static constexpr auto Ni_RTTI = NiRTTI_NiTimeController
 
- Static Public Attributes inherited from RE::NiObject
static constexpr auto RTTI = RTTI_NiObject
 
static constexpr auto Ni_RTTI = NiRTTI_NiObject
 
- Static Public Attributes inherited from RE::NiRefObject
static constexpr auto RTTI = RTTI_NiRefObject
 

Additional Inherited Members

- Static Public Member Functions inherited from RE::NiRefObject
static volatile std::uint32_t * GetTotalObjectCount ()
 

Member Enumeration Documentation

◆ CycleType

Enumerator
kLoop 
kReverse 
kClamp 
kTotal 

◆ Flag

Enumerator
kAnimType_AppTime 
kAnimType_AppInit 
kAnimType_Mask 
kCycleType_Loop 
kCycleType_Reverse 
kCycleType_Clamp 
kCycleType_Mask 
kActive 
kPlayBackwards 
kManagerControlled 
kComputeScaledTime 
kForceUpdate 

Constructor & Destructor Documentation

◆ NiTimeController()

RE::NiTimeController::NiTimeController ( )
inline

◆ ~NiTimeController()

RE::NiTimeController::~NiTimeController ( )
inlineoverride

Member Function Documentation

◆ ComputeScaledTime()

virtual float RE::NiTimeController::ComputeScaledTime ( float  a_time)
virtual

◆ GetNext()

constexpr NiTimeController* RE::NiTimeController::GetNext ( ) const
inlineconstexprnoexcept

◆ GetRTTI()

const NiRTTI* RE::NiTimeController::GetRTTI ( ) const
overridevirtual

Reimplemented from RE::NiObject.

◆ IsEqual()

bool RE::NiTimeController::IsEqual ( NiObject a_object)
overridevirtual

Reimplemented from RE::NiObject.

◆ IsStreamable()

virtual bool RE::NiTimeController::IsStreamable ( ) const
inlinevirtual

◆ IsTransformController()

virtual bool RE::NiTimeController::IsTransformController ( ) const
inlinevirtual

◆ IsVertexController()

virtual bool RE::NiTimeController::IsVertexController ( ) const
inlinevirtual

◆ LinkObject()

void RE::NiTimeController::LinkObject ( NiStream a_stream)
override

◆ LoadBinary()

void RE::NiTimeController::LoadBinary ( NiStream a_stream)
override

◆ OnPreDisplay()

virtual void RE::NiTimeController::OnPreDisplay ( )
inlinevirtual

◆ ProcessClone()

void RE::NiTimeController::ProcessClone ( NiCloningProcess &  a_cloning)
overridevirtual

Reimplemented from RE::NiObject.

◆ RegisterStreamables()

bool RE::NiTimeController::RegisterStreamables ( NiStream a_stream)
overridevirtual

Reimplemented from RE::NiObject.

◆ SaveBinary()

void RE::NiTimeController::SaveBinary ( NiStream a_stream)
override

◆ SetTarget()

virtual void RE::NiTimeController::SetTarget ( NiObjectNET a_target)
virtual

Reimplemented in RE::NiControllerManager.

◆ Start()

virtual void RE::NiTimeController::Start ( float  a_time)
virtual

Reimplemented in RE::NiControllerManager.

◆ Stop()

virtual void RE::NiTimeController::Stop ( )
virtual

Reimplemented in RE::NiControllerManager.

◆ TargetIsRequiredType()

virtual bool RE::NiTimeController::TargetIsRequiredType ( ) const
pure virtual

◆ Update()

virtual void RE::NiTimeController::Update ( float  a_time)
pure virtual

Member Data Documentation

◆ flags

stl::enumeration<Flag, std::uint16_t> RE::NiTimeController::flags

◆ frequency

float RE::NiTimeController::frequency

◆ hiKeyTime

float RE::NiTimeController::hiKeyTime

◆ lastTime

float RE::NiTimeController::lastTime

◆ loKeyTime

float RE::NiTimeController::loKeyTime

◆ next

NiPointer<NiTimeController> RE::NiTimeController::next

◆ Ni_RTTI

constexpr auto RE::NiTimeController::Ni_RTTI = NiRTTI_NiTimeController
inlinestaticconstexpr

◆ pad12

std::uint16_t RE::NiTimeController::pad12

◆ pad34

std::uint32_t RE::NiTimeController::pad34

◆ phase

float RE::NiTimeController::phase

◆ RTTI

constexpr auto RE::NiTimeController::RTTI = RTTI_NiTimeController
inlinestaticconstexpr

◆ scaledTime

float RE::NiTimeController::scaledTime

◆ startTime

float RE::NiTimeController::startTime

◆ target

NiObjectNET* RE::NiTimeController::target

◆ weightedLastTime

float RE::NiTimeController::weightedLastTime

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