CommonLibSSE (Parapets fork)
RE::NiNode Class Reference

#include <NiNode.h>

Inheritance diagram for RE::NiNode:
RE::NiAVObject RE::NiObjectNET RE::NiObject RE::NiRefObject RE::BSFaceGenNiNode RE::BSFadeNode RE::BSNiNode RE::ShadowSceneNode RE::BSMultiBoundNode

Public Member Functions

 ~NiNode () override
 
const NiRTTIGetRTTI () const override
 
NiNodeAsNode () override
 
NiObjectCreateClone (NiCloningProcess &a_cloning) 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
 
void UpdateControllers (NiUpdateData &a_data) override
 
void PerformOp (PerformOpFunc &a_func) override
 
void AttachProperty (NiAlphaProperty *a_property) override
 
NiAVObjectGetObjectByName (const BSFixedString &a_name) override
 
void SetSelectiveUpdateFlags (bool &a_selectiveUpdate, bool a_selectiveUpdateTransforms, bool &a_rigid) override
 
void UpdateDownwardPass (NiUpdateData &a_data, std::uint32_t a_arg2) override
 
void UpdateSelectedDownwardPass (NiUpdateData &a_data, std::uint32_t a_arg2) override
 
void UpdateRigidDownwardPass (NiUpdateData &a_data, std::uint32_t a_arg2) override
 
void UpdateWorldBound () override
 
void UpdateTransformAndBounds (NiUpdateData &a_data) override
 
void OnVisible (NiCullingProcess &a_process) override
 
virtual void AttachChild (NiAVObject *a_child, bool a_firstAvail=false)
 
virtual void InsertChildAt (std::uint32_t a_idx, NiAVObject *a_child)
 
virtual void DetachChild1 (NiAVObject *a_child, NiPointer< NiAVObject > &a_childOut)
 
virtual void DetachChild2 (NiAVObject *a_child)
 
virtual void DetachChildAt1 (std::uint32_t a_idx, NiPointer< NiAVObject > &a_childOut)
 
virtual void DetachChildAt2 (std::uint32_t a_idx)
 
virtual void SetAt1 (std::uint32_t a_idx, NiAVObject *a_child, NiPointer< NiAVObject > &a_childOut)
 
virtual void SetAt2 (std::uint32_t a_idx, NiAVObject *a_child)
 
virtual void UpdateUpwardPass (NiUpdateData &a_data)
 
void DetachChild (NiAVObject *a_child)
 
void DetachChild (NiAVObject *a_child, NiPointer< NiAVObject > &a_childOut)
 
void DetachChildAt (std::uint32_t a_idx)
 
void DetachChildAt (std::uint32_t a_idx, NiPointer< NiAVObject > &a_childOut)
 
void SetAt (std::uint32_t a_idx, NiAVObject *a_child)
 
void SetAt (std::uint32_t a_idx, NiAVObject *a_child, NiPointer< NiAVObject > &a_childOut)
 
- Public Member Functions inherited from RE::NiAVObject
 ~NiAVObject () override
 
void LoadBinary (NiStream &a_stream) override
 
void LinkObject (NiStream &a_stream) override
 
void SaveBinary (NiStream &a_stream) override
 
virtual void SetMaterialNeedsUpdate (bool a_needsUpdate)
 
virtual void SetDefaultMaterialNeedsUpdateFlag (bool a_flag)
 
virtual void UpdateWorldData (NiUpdateData *a_data)
 
virtual void PreAttachUpdate (NiNode *a_parent, NiUpdateData &a_data)
 
virtual void PostAttachUpdate ()
 
bool GetAppCulled () const
 
bool SetMotionType (std::uint32_t a_motionType, bool a_arg2=true, bool a_arg3=false, bool a_allowActivate=true)
 
void TintScenegraph (const NiColorA &a_color)
 
void Update (NiUpdateData &a_data)
 
void UpdateBodyTint (const NiColor &a_color)
 
void UpdateHairColor (const NiColor &a_color)
 
- Public Member Functions inherited from RE::NiObjectNET
 ~NiObjectNET () 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
 
void PostLinkObject (NiStream &a_stream) override
 
bool AddExtraData (const BSFixedString &a_key, NiExtraData *a_extra)
 
bool AddExtraData (NiExtraData *a_extra)
 
void DeleteExtraData (std::uint16_t a_extraDataIndex)
 
NiTimeControllerGetControllers () const
 
NiTimeControllerGetController (const NiRTTI *a_rtti) const
 
NiExtraDataGetExtraData (const BSFixedString &a_key) const
 
NiExtraDataGetExtraDataAt (std::uint16_t a_extraDataIndex) const
 
std::uint16_t GetExtraDataSize () const
 
bool InsertExtraData (NiExtraData *a_extra)
 
void RemoveAllExtraData ()
 
bool RemoveExtraData (const BSFixedString &a_key)
 
bool RemoveExtraDataAt (std::uint16_t a_extraDataIndex)
 
bool SetExtraDataSize (std::uint16_t a_size)
 
- Public Member Functions inherited from RE::NiObject
 ~NiObject () override=default
 
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 ()
 

Static Public Member Functions

static NiNodeCreate (std::uint16_t a_arrBufLen=0)
 
- Static Public Member Functions inherited from RE::NiRefObject
static volatile std::uint32_t * GetTotalObjectCount ()
 

Public Attributes

NiTObjectArray< NiPointer< NiAVObject > > children
 
- Public Attributes inherited from RE::NiAVObject
NiNodeparent
 
std::uint32_t parentIndex
 
std::uint32_t unk03C
 
NiPointer< NiCollisionObjectcollisionObject
 
NiTransform local
 
NiTransform world
 
NiTransform previousWorld
 
NiBound worldBound
 
stl::enumeration< Flag, std::uint32_t > flags
 
TESObjectREFRuserData
 
float fadeAmount
 
std::uint32_t lastUpdatedFrameCounter
 
std::uint32_t unk108
 
- Public Attributes inherited from RE::NiObjectNET
BSFixedString name
 
NiPointer< NiTimeControllercontrollers
 
NiExtraData ** extra
 
std::uint16_t extraDataSize
 
std::uint16_t maxSize
 
std::uint32_t pad2C
 
- 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_NiNode
 
static constexpr auto Ni_RTTI = NiRTTI_NiNode
 
- Static Public Attributes inherited from RE::NiAVObject
static constexpr auto RTTI = RTTI_NiAVObject
 
static constexpr auto Ni_RTTI = NiRTTI_NiAVObject
 
- Static Public Attributes inherited from RE::NiObjectNET
static constexpr auto RTTI = RTTI_NiObjectNET
 
static constexpr auto Ni_RTTI = NiRTTI_NiObjectNET
 
- 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
 

Protected Member Functions

NiNodeCtor (std::uint16_t a_arrBufLen)
 

Additional Inherited Members

- Public Types inherited from RE::NiAVObject
enum class  Flag {
  kNone = 0 , kHidden = 1 << 0 , kSelectiveUpdate = 1 << 1 , kSelectiveUpdateTransforms = 1 << 2 ,
  kSelectiveUpdateController = 1 << 3 , kSelectiveUpdateRigid = 1 << 4 , kDisplayObject = 1 << 5 , kDisableSorting = 1 << 6 ,
  kSelectiveUpdateTransformsOverride = 1 << 7 , kSaveExternalGeometryData = 1 << 9 , kNoDecals = 1 << 10 , kAlwaysDraw = 1 << 11 ,
  kMeshLOD = 1 << 12 , kFixedBound = 1 << 13 , kTopFadeNode = 1 << 14 , kIgnoreFade = 1 << 15 ,
  kNoAnimSyncX = 1 << 16 , kNoAnimSyncY = 1 << 17 , kNoAnimSyncZ = 1 << 18 , kNoAnimSyncS = 1 << 19 ,
  kNoDismember = 1 << 20 , kNoDismemberValidity = 1 << 21 , kRenderUse = 1 << 22 , kMaterialsApplied = 1 << 23 ,
  kHighDetail = 1 << 24 , kForceUpdate = 1 << 25 , kPreProcessedNode = 1 << 26
}
 

Constructor & Destructor Documentation

◆ ~NiNode()

RE::NiNode::~NiNode ( )
override

Member Function Documentation

◆ AsNode()

NiNode* RE::NiNode::AsNode ( )
overridevirtual

Reimplemented from RE::NiObject.

◆ AttachChild()

virtual void RE::NiNode::AttachChild ( NiAVObject a_child,
bool  a_firstAvail = false 
)
virtual

◆ AttachProperty()

void RE::NiNode::AttachProperty ( NiAlphaProperty a_property)
overridevirtual

Reimplemented from RE::NiAVObject.

◆ Create()

static NiNode* RE::NiNode::Create ( std::uint16_t  a_arrBufLen = 0)
static

◆ CreateClone()

NiObject* RE::NiNode::CreateClone ( NiCloningProcess &  a_cloning)
override

◆ Ctor()

NiNode* RE::NiNode::Ctor ( std::uint16_t  a_arrBufLen)
protected

◆ DetachChild() [1/2]

void RE::NiNode::DetachChild ( NiAVObject a_child)

◆ DetachChild() [2/2]

void RE::NiNode::DetachChild ( NiAVObject a_child,
NiPointer< NiAVObject > &  a_childOut 
)

◆ DetachChild1()

virtual void RE::NiNode::DetachChild1 ( NiAVObject a_child,
NiPointer< NiAVObject > &  a_childOut 
)
virtual

◆ DetachChild2()

virtual void RE::NiNode::DetachChild2 ( NiAVObject a_child)
virtual

◆ DetachChildAt() [1/2]

void RE::NiNode::DetachChildAt ( std::uint32_t  a_idx)

◆ DetachChildAt() [2/2]

void RE::NiNode::DetachChildAt ( std::uint32_t  a_idx,
NiPointer< NiAVObject > &  a_childOut 
)

◆ DetachChildAt1()

virtual void RE::NiNode::DetachChildAt1 ( std::uint32_t  a_idx,
NiPointer< NiAVObject > &  a_childOut 
)
virtual

◆ DetachChildAt2()

virtual void RE::NiNode::DetachChildAt2 ( std::uint32_t  a_idx)
virtual

◆ GetObjectByName()

NiAVObject* RE::NiNode::GetObjectByName ( const BSFixedString a_name)
overridevirtual

Reimplemented from RE::NiAVObject.

◆ GetRTTI()

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

Reimplemented from RE::NiAVObject.

Reimplemented in RE::ShadowSceneNode.

◆ InsertChildAt()

virtual void RE::NiNode::InsertChildAt ( std::uint32_t  a_idx,
NiAVObject a_child 
)
virtual

◆ IsEqual()

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

Reimplemented from RE::NiAVObject.

◆ LinkObject()

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

◆ LoadBinary()

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

◆ OnVisible()

void RE::NiNode::OnVisible ( NiCullingProcess a_process)
overridevirtual

Reimplemented from RE::NiAVObject.

Reimplemented in RE::ShadowSceneNode.

◆ PerformOp()

void RE::NiNode::PerformOp ( PerformOpFunc a_func)
overridevirtual

Reimplemented from RE::NiAVObject.

◆ ProcessClone()

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

Reimplemented from RE::NiAVObject.

◆ RegisterStreamables()

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

Reimplemented from RE::NiAVObject.

◆ SaveBinary()

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

◆ SetAt() [1/2]

void RE::NiNode::SetAt ( std::uint32_t  a_idx,
NiAVObject a_child 
)

◆ SetAt() [2/2]

void RE::NiNode::SetAt ( std::uint32_t  a_idx,
NiAVObject a_child,
NiPointer< NiAVObject > &  a_childOut 
)

◆ SetAt1()

virtual void RE::NiNode::SetAt1 ( std::uint32_t  a_idx,
NiAVObject a_child,
NiPointer< NiAVObject > &  a_childOut 
)
virtual

◆ SetAt2()

virtual void RE::NiNode::SetAt2 ( std::uint32_t  a_idx,
NiAVObject a_child 
)
virtual

◆ SetSelectiveUpdateFlags()

void RE::NiNode::SetSelectiveUpdateFlags ( bool &  a_selectiveUpdate,
bool  a_selectiveUpdateTransforms,
bool &  a_rigid 
)
overridevirtual

Reimplemented from RE::NiAVObject.

◆ UpdateControllers()

void RE::NiNode::UpdateControllers ( NiUpdateData a_data)
overridevirtual

Reimplemented from RE::NiAVObject.

◆ UpdateDownwardPass()

void RE::NiNode::UpdateDownwardPass ( NiUpdateData a_data,
std::uint32_t  a_arg2 
)
overridevirtual

Reimplemented from RE::NiAVObject.

◆ UpdateRigidDownwardPass()

void RE::NiNode::UpdateRigidDownwardPass ( NiUpdateData a_data,
std::uint32_t  a_arg2 
)
overridevirtual

Reimplemented from RE::NiAVObject.

◆ UpdateSelectedDownwardPass()

void RE::NiNode::UpdateSelectedDownwardPass ( NiUpdateData a_data,
std::uint32_t  a_arg2 
)
overridevirtual

Reimplemented from RE::NiAVObject.

◆ UpdateTransformAndBounds()

void RE::NiNode::UpdateTransformAndBounds ( NiUpdateData a_data)
overridevirtual

Reimplemented from RE::NiAVObject.

◆ UpdateUpwardPass()

virtual void RE::NiNode::UpdateUpwardPass ( NiUpdateData a_data)
virtual

Reimplemented in RE::BSMultiBoundNode.

◆ UpdateWorldBound()

void RE::NiNode::UpdateWorldBound ( )
overridevirtual

Reimplemented from RE::NiAVObject.

Member Data Documentation

◆ children

NiTObjectArray<NiPointer<NiAVObject> > RE::NiNode::children

◆ Ni_RTTI

constexpr auto RE::NiNode::Ni_RTTI = NiRTTI_NiNode
inlinestaticconstexpr

◆ RTTI

constexpr auto RE::NiNode::RTTI = RTTI_NiNode
inlinestaticconstexpr

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