|
Arma Reforger Script API
|
UI Script Inventory Item Inspection UI Layout. More...
Public Member Functions | |
| override bool | OnMouseButtonDown (Widget w, int x, int y, int button) |
| override bool | OnMouseButtonUp (Widget w, int x, int y, int button) |
| void | DeletePreview () |
| Deletes the preview world. | |
| void | Destroy () |
| Removes just the UI slot. | |
| Widget | GetWidget () |
| void | CenterPreviewObject (vector center) |
| Centers the preview object to the input position. | |
| void | ResetPreviewCamera () |
| Resets the camera to the default rotation and distance based on the preview object's size. | |
| void | UpdateView (float timeSlice) |
| Update the preview. | |
| void | SCR_InventoryInspectionUI (InventoryItemComponent pComponent=null, SCR_InventoryStorageBaseUI pStorageUI=null, BaseWorld playerWorld=null) |
| void | ~SCR_InventoryInspectionUI () |
Public Attributes | |
| Widget | m_widget = null |
| InventoryItemComponent | m_pItem = null |
| SCR_InventoryStorageBaseUI | m_inventoryStorage = null |
| BaseWorld | m_PreviewWorld = null |
| ref SharedItemRef | m_PreviewSharedItemRef = null |
| int | m_PreviewCamera = -1 |
| GenericEntity | m_PreviewEntity = null |
| vector | m_PreviewRotation = vector.Zero |
| float | m_PreviewDistance = 0 |
| vector | m_PreviewTargetRotation = vector.Zero |
| float | m_PreviewTargetDistance = 0 |
| bool | m_InputMouseRotate = false |
Static Public Attributes | |
| const string | ITEM_LAYOUT = "{9A9CCE3707075EF4}UI/layouts/Menus/Inventory/InventoryInspectionPanel.layout" |
Protected Member Functions | |
| void | Init () |
| void | CreatePreview () |
| Creates the preview world. | |
Protected Attributes | |
| WorkspaceWidget | m_workspaceWidget = null |
| RenderTargetWidget | m_wItemRender = null |
| InputManager | m_pInputmanager = null |
| SCR_InventoryNavigationButtonBack | m_wButtonTraverseBack |
UI Script Inventory Item Inspection UI Layout.
| void SCR_InventoryInspectionUI.SCR_InventoryInspectionUI | ( | InventoryItemComponent | pComponent = null, |
| SCR_InventoryStorageBaseUI | pStorageUI = null, | ||
| BaseWorld | playerWorld = null ) |
| void SCR_InventoryInspectionUI.~SCR_InventoryInspectionUI | ( | ) |
| void SCR_InventoryInspectionUI.CenterPreviewObject | ( | vector | center | ) |
Centers the preview object to the input position.
|
protected |
Creates the preview world.
| void SCR_InventoryInspectionUI.DeletePreview | ( | ) |
Deletes the preview world.
| void SCR_InventoryInspectionUI.Destroy | ( | ) |
Removes just the UI slot.
| Widget SCR_InventoryInspectionUI.GetWidget | ( | ) |
|
protected |
| override bool SCR_InventoryInspectionUI.OnMouseButtonDown | ( | Widget | w, |
| int | x, | ||
| int | y, | ||
| int | button ) |
| override bool SCR_InventoryInspectionUI.OnMouseButtonUp | ( | Widget | w, |
| int | x, | ||
| int | y, | ||
| int | button ) |
| void SCR_InventoryInspectionUI.ResetPreviewCamera | ( | ) |
Resets the camera to the default rotation and distance based on the preview object's size.
| void SCR_InventoryInspectionUI.UpdateView | ( | float | timeSlice | ) |
Update the preview.
|
static |
| bool SCR_InventoryInspectionUI.m_InputMouseRotate = false |
| SCR_InventoryStorageBaseUI SCR_InventoryInspectionUI.m_inventoryStorage = null |
|
protected |
| InventoryItemComponent SCR_InventoryInspectionUI.m_pItem = null |
| int SCR_InventoryInspectionUI.m_PreviewCamera = -1 |
| float SCR_InventoryInspectionUI.m_PreviewDistance = 0 |
| GenericEntity SCR_InventoryInspectionUI.m_PreviewEntity = null |
| vector SCR_InventoryInspectionUI.m_PreviewRotation = vector.Zero |
| ref SharedItemRef SCR_InventoryInspectionUI.m_PreviewSharedItemRef = null |
| float SCR_InventoryInspectionUI.m_PreviewTargetDistance = 0 |
| vector SCR_InventoryInspectionUI.m_PreviewTargetRotation = vector.Zero |
| BaseWorld SCR_InventoryInspectionUI.m_PreviewWorld = null |
|
protected |
| Widget SCR_InventoryInspectionUI.m_widget = null |
|
protected |
|
protected |