IAttachmentObject

Represents an instance of an attachment on a character, managing the updating of the contained object (for example an IStatObj). More...

#include

Inherited by CCGFAttachment, CEffectAttachment, CEntityAttachment, CLightAttachment, CSKELAttachment, and CSKINAttachment.

Public Types

enum EType {
eAttachment_Unknown, eAttachment_StatObj, eAttachment_Skeleton, eAttachment_SkinMesh,
eAttachment_Entity, eAttachment_Light, eAttachment_Effect
}

Public Member Functions

virtual EType GetAttachmentType ()=0
virtual void ProcessAttachment (IAttachment *pIAttachment)=0
virtual void RenderAttachment (SRendParams &rParams, const SRenderingPassInfo &passInfo)
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 AABB GetAABB () const =0
virtual float GetRadiusSqr () const =0
virtual IStatObj * GetIStatObj () const
virtual ICharacterInstance * GetICharacterInstance () const
virtual IAttachmentSkin * GetIAttachmentSkin () const
virtual const char * GetObjectFilePath () const
virtual IMaterial * GetBaseMaterial (uint32 nLOD=0) const =0
virtual void SetReplacementMaterial (IMaterial *pMaterial, uint32 nLOD=0)=0
virtual IMaterial * GetReplacementMaterial (uint32 nLOD=0) const =0
virtual void OnRemoveAttachment (IAttachmentManager *pManager, int idx)
virtual void Release ()=0

Detailed Description

Represents an instance of an attachment on a character, managing the updating of the contained object (for example an IStatObj).

Member Function Documentation

◆ PhysicalizeAttachment()

virtual bool IAttachmentObject::PhysicalizeAttachment ( IAttachmentManager * pManager,
int idx,
int nLod,
IPhysicalEntity * pent,
const Vec3 & offset
)
inline
virtual
Returns
Handled state.