◆ SCR_DeployableVariantContainer()
| void SCR_DeployableVariantContainer.SCR_DeployableVariantContainer |
( |
| ) |
|
◆ GetAdditionalPrefabList()
◆ GetAdditionaPlacementOffset()
| vector SCR_DeployableVariantContainer.GetAdditionaPlacementOffset |
( |
| ) |
|
◆ GetAdditionaPlacementRotation()
| vector SCR_DeployableVariantContainer.GetAdditionaPlacementRotation |
( |
| ) |
|
◆ GetMaxAllowedTilt()
| float SCR_DeployableVariantContainer.GetMaxAllowedTilt |
( |
| ) |
|
◆ GetPreviewResource()
| ResourceName SCR_DeployableVariantContainer.GetPreviewResource |
( |
| ) |
|
◆ GetReplacementPrefab()
| ResourceName SCR_DeployableVariantContainer.GetReplacementPrefab |
( |
| ) |
|
◆ GetReplacementPrefabBoundingBox()
| bool SCR_DeployableVariantContainer.GetReplacementPrefabBoundingBox |
( |
out vector | mins, |
|
|
out vector | maxs ) |
- Parameters
-
- Returns
- true if system was able to fetch valid data
◆ GetRequiredElements()
Returns a copy of the list of required prefabs.
- Parameters
-
| [out] | output | is not cleared before it is filled |
- Returns
- number of elements in the output array
◆ GetRequiredElementsRaw()
Returns pointer to a shared array of requirements.
◆ GetVariantId()
| int SCR_DeployableVariantContainer.GetVariantId |
( |
| ) |
|
◆ IsSurfaceValid()
| bool SCR_DeployableVariantContainer.IsSurfaceValid |
( |
IEntity | surfaceEnt, |
|
|
vector | worldPosition, |
|
|
vector | surfaceNorm, |
|
|
int | nodeIndex, |
|
|
int | colliderIndex, |
|
|
SurfaceProperties | surfaceProps, |
|
|
string | surfaceMaterial, |
|
|
string | colliderName ) |
Validates if provided entity can be considered as a valid surface for deployment.
- Parameters
-
| [in] | surfaceEnt | entity on which the item is going to be deployed |
| [in] | worldPosition | position in world space |
| [in] | surfaceNorm | normal of the face on which the item is going to be deployed |
| [in] | nodeIndex | bone id to which is attached the collider on which the item is going to be deployed |
| [in] | colliderIndex | collider id on which the item is going to be deployed |
| [in] | surfaceProps | properties of the surface on which the item is going to be deployed |
| [in] | surfaceMaterial | name of the material of the surface on which the item is going to be deployed |
| [in] | colliderName | name of the collider on which the item is going to be deployed |
- Returns
- true if item can be deployed on this surface, otherwise false
◆ IsUsingPartPositionAndRotation()
| bool SCR_DeployableVariantContainer.IsUsingPartPositionAndRotation |
( |
| ) |
|
◆ m_aAdditionalPrefabs
◆ m_aRequiredElements
◆ m_bUsePartRotationAndPosition
| bool SCR_DeployableVariantContainer.m_bUsePartRotationAndPosition |
|
protected |
◆ m_fMaxAllowedTilt
| float SCR_DeployableVariantContainer.m_fMaxAllowedTilt |
|
protected |
◆ m_iVariantId
| int SCR_DeployableVariantContainer.m_iVariantId |
|
protected |
◆ m_sPreviewObject
| ResourceName SCR_DeployableVariantContainer.m_sPreviewObject |
|
protected |
◆ m_sReplacementPrefab
| ResourceName SCR_DeployableVariantContainer.m_sReplacementPrefab |
|
protected |
◆ m_SurfaceValidator
◆ m_vAdditionalPlacementOffset
| vector SCR_DeployableVariantContainer.m_vAdditionalPlacementOffset |
|
protected |
◆ m_vAdditionalPlacementRotation
| vector SCR_DeployableVariantContainer.m_vAdditionalPlacementRotation |
|
protected |
◆ m_vReplacementPrefabBoundingBoxMaxs
| vector SCR_DeployableVariantContainer.m_vReplacementPrefabBoundingBoxMaxs |
|
protected |
◆ m_vReplacementPrefabBoundingBoxMins
| vector SCR_DeployableVariantContainer.m_vReplacementPrefabBoundingBoxMins |
|
protected |
The documentation for this interface was generated from the following file:
- Game/Components/SCR_DeployableVariantContainer.c