Skip to content

AddDrawListRef

Description

Adds a reference to an entity to a draw group.

Parameters

drawGroup

The draw group to add the entity to.

entitySlot

The slot of the entity to add.

Return Value

None.

Syntax

RSDK.AddDrawListRef(uint8 drawGroup, uint16 entitySlot);

Graphics::AddDrawListRef(uint8 drawGroup, uint16 entitySlot);
entity->AddDrawListRef(uint8 drawGroup);

Examples

RSDK.AddDrawListRef(1, 17);
RSDK.AddDrawListRef(5, RSDK.GetEntitySlot(self));

Graphics::AddDrawListRef(1, 17);
this->AddDrawListRef(5);