18#ifndef INCLUDED_ICMPMODELRENDERER
19#define INCLUDED_ICMPMODELRENDERER
40 bool valid()
const {
return n != 0; }
70 bool allowEditorSelectables)
const = 0;
#define DECLARE_INTERFACE_TYPE(iname)
Definition: Interface.h:23
Definition: BoundingSphere.h:26
Object wrapping an entity_id_t, with a SEntityComponentCache to support fast QueryInterface() / CmpPt...
Definition: Entity.h:80
Definition: Vector3D.h:31
Definition: ICmpUnitRenderer.h:30
virtual void SetDebugOverlay(bool enabled)=0
Toggle the rendering of debug info.
virtual void UpdateUnit(tag_t tag, CUnit *unit, const CBoundingSphere &boundsApprox)=0
virtual void PickAllEntitiesAtPoint(std::vector< std::pair< CEntityHandle, CVector3D > > &outEntities, const CVector3D &origin, const CVector3D &dir, bool allowEditorSelectables) const =0
Return a list of visual entities along with their center point.
virtual void RemoveUnit(tag_t tag)=0
virtual void UpdateUnitPos(tag_t tag, bool inWorld, const CVector3D &pos0, const CVector3D &pos1)=0
@ VISIBLE_IN_ATLAS_ONLY
Definition: ICmpUnitRenderer.h:48
@ ACTOR_ONLY
Definition: ICmpUnitRenderer.h:47
virtual tag_t AddUnit(CEntityHandle entity, CUnit *unit, const CBoundingSphere &boundsApprox, int flags)=0
virtual float GetFrameOffset() const =0
Returns the frame offset from the last Interpolate message.
Definition: IComponent.h:33
External identifiers for models.
Definition: ICmpUnitRenderer.h:37
u32 n
Definition: ICmpUnitRenderer.h:42
tag_t()
Definition: ICmpUnitRenderer.h:38
bool valid() const
Definition: ICmpUnitRenderer.h:40
tag_t(u32 n)
Definition: ICmpUnitRenderer.h:39
uint32_t u32
Definition: types.h:39