Arma Reforger Script API
|
Public Member Functions | |
ResourceName | GetSlotPrefab () |
Get prefab of the slot to which the composition fits. | |
bool | CanOrientChildrenToTerrain () |
Check if composition children should be snapped and oriented to terrain. | |
void | OrientToTerrain () |
Orient composition and its children to terrain. | |
override void | EOnInit (IEntity owner) |
override void | OnPostInit (IEntity owner) |
override array< ref WB_UIMenuItem > | _WB_GetContextMenuItems (IEntity owner) |
override void | _WB_OnContextMenu (IEntity owner, int id) |
Static Public Member Functions | |
static void | IgnoreOrientChildrenToTerrain () |
Bool to disable the terrain snapping for next spawned composition. | |
static bool | _WB_ConfigureComposition (WorldEditorAPI api, IEntitySource entitySource, bool isRoot=true, bool delayed=false) |
Protected Member Functions | |
void | SetChildTransform (IEntity owner, BaseWorld world) |
Protected Attributes | |
GenericEntity | m_Owner |
Static Protected Attributes | |
static bool | m_bIgnoreOrientChildrenToTerrain |
Entity composition which is supposed to fit into a slot
|
static |
[in] | api | |
[in] | entitySource | |
[in] | isRoot | |
[in] | delayed |
override array< ref WB_UIMenuItem > SCR_SlotCompositionComponent._WB_GetContextMenuItems | ( | IEntity | owner | ) |
override void SCR_SlotCompositionComponent._WB_OnContextMenu | ( | IEntity | owner, |
int | id | ||
) |
bool SCR_SlotCompositionComponent.CanOrientChildrenToTerrain | ( | ) |
Check if composition children should be snapped and oriented to terrain.
override void SCR_SlotCompositionComponent.EOnInit | ( | IEntity | owner | ) |
ResourceName SCR_SlotCompositionComponent.GetSlotPrefab | ( | ) |
Get prefab of the slot to which the composition fits.
|
static |
Bool to disable the terrain snapping for next spawned composition.
override void SCR_SlotCompositionComponent.OnPostInit | ( | IEntity | owner | ) |
void SCR_SlotCompositionComponent.OrientToTerrain | ( | ) |
Orient composition and its children to terrain.
Applied only if "Can Orient Children To Terrain" attribute is enabled.
|
protected |
|
staticprotected |
|
protected |