Entity composition which is supposed to fit into a slot.
More...
Entity composition which is supposed to fit into a slot.
◆ _WB_ConfigureComposition()
| static bool SCR_SlotCompositionComponent._WB_ConfigureComposition |
( |
WorldEditorAPI | api, |
|
|
IEntitySource | entitySource, |
|
|
bool | isRoot = true, |
|
|
bool | delayed = false ) |
|
static |
- Parameters
-
| [in] | api | |
| [in] | entitySource | |
| [in] | isRoot | |
| [in] | delayed | |
- Returns
◆ _WB_GetContextMenuItems()
| override array< ref WB_UIMenuItem > SCR_SlotCompositionComponent._WB_GetContextMenuItems |
( |
IEntity | owner | ) |
|
◆ _WB_OnContextMenu()
| override void SCR_SlotCompositionComponent._WB_OnContextMenu |
( |
IEntity | owner, |
|
|
int | id ) |
◆ CanOrientChildrenToTerrain()
| bool SCR_SlotCompositionComponent.CanOrientChildrenToTerrain |
( |
| ) |
|
Check if composition children should be snapped and oriented to terrain.
- Returns
- True if children are affected
◆ EOnInit()
| override void SCR_SlotCompositionComponent.EOnInit |
( |
IEntity | owner | ) |
|
◆ GetSlotPrefab()
| ResourceName SCR_SlotCompositionComponent.GetSlotPrefab |
( |
| ) |
|
Get prefab of the slot to which the composition fits.
- Returns
- Slot prefab
◆ IgnoreOrientChildrenToTerrain()
| static void SCR_SlotCompositionComponent.IgnoreOrientChildrenToTerrain |
( |
| ) |
|
|
static |
Bool to disable the terrain snapping for next spawned composition.
◆ OnPostInit()
| override void SCR_SlotCompositionComponent.OnPostInit |
( |
IEntity | owner | ) |
|
◆ OrientToTerrain()
| void SCR_SlotCompositionComponent.OrientToTerrain |
( |
| ) |
|
Orient composition and its children to terrain.
Applied only if "Can Orient Children To Terrain" attribute is enabled.
◆ SetChildTransform()
| void SCR_SlotCompositionComponent.SetChildTransform |
( |
IEntity | owner, |
|
|
BaseWorld | world ) |
|
protected |
◆ m_bIgnoreOrientChildrenToTerrain
| bool SCR_SlotCompositionComponent.m_bIgnoreOrientChildrenToTerrain |
|
staticprotected |
◆ m_Owner
| GenericEntity SCR_SlotCompositionComponent.m_Owner |
|
protected |
The documentation for this interface was generated from the following file:
- Game/Compositions/SCR_SlotCompositionComponent.c