18#ifndef INCLUDED_ICMPMODELRENDERER
19#define INCLUDED_ICMPMODELRENDERER
44 bool valid()
const {
return n != 0; }
74 bool allowEditorSelectables)
const = 0;
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:32
Definition: ICmpUnitRenderer.h:34
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.
@ VISIBLE_IN_ATLAS_ONLY
Definition: ICmpUnitRenderer.h:52
@ ACTOR_ONLY
Definition: ICmpUnitRenderer.h:51
virtual void RemoveUnit(tag_t tag)=0
virtual void UpdateUnitPos(tag_t tag, bool inWorld, const CVector3D &pos0, const CVector3D &pos1)=0
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
#define DECLARE_INTERFACE_TYPE(iname)
Definition: Interface.h:23
External identifiers for models.
Definition: ICmpUnitRenderer.h:41
std::uint32_t n
Definition: ICmpUnitRenderer.h:46
tag_t(std::uint32_t n)
Definition: ICmpUnitRenderer.h:43
tag_t()
Definition: ICmpUnitRenderer.h:42
bool valid() const
Definition: ICmpUnitRenderer.h:44