CCGFAttachment

Represents a static (IStatObj) object instance tied to a character. More...

#include

Inherits IAttachmentObject.

Public Member Functions

virtual EType GetAttachmentType () override
virtual void ProcessAttachment (IAttachment *pIAttachment) override
void RenderAttachment (SRendParams &rParams, const SRenderingPassInfo &passInfo) override
virtual AABB GetAABB () const override
virtual float GetRadiusSqr () const override
IStatObj * GetIStatObj () const override
void Release () override
IMaterial * GetBaseMaterial (uint32 nLOD) const override
void SetReplacementMaterial (IMaterial *pMaterial, uint32 nLOD=0) override
IMaterial * GetReplacementMaterial (uint32 nLOD) const override
- Public Member Functions inherited from IAttachmentObject
virtual bool PhysicalizeAttachment (IAttachmentManager *pManager, int idx, int nLod, IPhysicalEntity *pent, const Vec3 &offset)
virtual bool UpdatePhysicalizedAttachment (IAttachmentManager *pManager, int idx, IPhysicalEntity *pent, const QuatT &offset)
virtual ICharacterInstance * GetICharacterInstance () const
virtual IAttachmentSkin * GetIAttachmentSkin () const
virtual const char * GetObjectFilePath () const
virtual void OnRemoveAttachment (IAttachmentManager *pManager, int idx)

Public Attributes

_smart_ptr< IStatObj > pObj
_smart_ptr< IMaterial > m_pReplacementMaterial

Additional Inherited Members

- Public Types inherited from IAttachmentObject
enum EType {
eAttachment_Unknown, eAttachment_StatObj, eAttachment_Skeleton, eAttachment_SkinMesh,
eAttachment_Entity, eAttachment_Light, eAttachment_Effect
}

Detailed Description

Represents a static (IStatObj) object instance tied to a character.