Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
SCR_InventoryInspectionUI Interface Reference

UI Script Inventory Item Inspection UI Layout. More...

Inheritance diagram for SCR_InventoryInspectionUI:
[legend]

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
 

Detailed Description

UI Script Inventory Item Inspection UI Layout.

Constructor & Destructor Documentation

◆ SCR_InventoryInspectionUI()

void SCR_InventoryInspectionUI.SCR_InventoryInspectionUI ( InventoryItemComponent  pComponent = null,
SCR_InventoryStorageBaseUI  pStorageUI = null,
BaseWorld  playerWorld = null 
)

◆ ~SCR_InventoryInspectionUI()

void SCR_InventoryInspectionUI.~SCR_InventoryInspectionUI ( )

Member Function Documentation

◆ CenterPreviewObject()

void SCR_InventoryInspectionUI.CenterPreviewObject ( vector  center)

Centers the preview object to the input position.

◆ CreatePreview()

void SCR_InventoryInspectionUI.CreatePreview ( )
protected

Creates the preview world.

◆ DeletePreview()

void SCR_InventoryInspectionUI.DeletePreview ( )

Deletes the preview world.

◆ Destroy()

void SCR_InventoryInspectionUI.Destroy ( )

Removes just the UI slot.

◆ GetWidget()

Widget SCR_InventoryInspectionUI.GetWidget ( )

◆ Init()

void SCR_InventoryInspectionUI.Init ( )
protected

◆ OnMouseButtonDown()

override bool SCR_InventoryInspectionUI.OnMouseButtonDown ( Widget  w,
int  x,
int  y,
int  button 
)

◆ OnMouseButtonUp()

override bool SCR_InventoryInspectionUI.OnMouseButtonUp ( Widget  w,
int  x,
int  y,
int  button 
)

◆ ResetPreviewCamera()

void SCR_InventoryInspectionUI.ResetPreviewCamera ( )

Resets the camera to the default rotation and distance based on the preview object's size.

◆ UpdateView()

void SCR_InventoryInspectionUI.UpdateView ( float  timeSlice)

Update the preview.

Member Data Documentation

◆ ITEM_LAYOUT

const string SCR_InventoryInspectionUI.ITEM_LAYOUT = "{9A9CCE3707075EF4}UI/layouts/Menus/Inventory/InventoryInspectionPanel.layout"
static

◆ m_InputMouseRotate

bool SCR_InventoryInspectionUI.m_InputMouseRotate = false

◆ m_inventoryStorage

SCR_InventoryStorageBaseUI SCR_InventoryInspectionUI.m_inventoryStorage = null

◆ m_pInputmanager

InputManager SCR_InventoryInspectionUI.m_pInputmanager = null
protected

◆ m_pItem

InventoryItemComponent SCR_InventoryInspectionUI.m_pItem = null

◆ m_PreviewCamera

int SCR_InventoryInspectionUI.m_PreviewCamera = -1

◆ m_PreviewDistance

float SCR_InventoryInspectionUI.m_PreviewDistance = 0

◆ m_PreviewEntity

GenericEntity SCR_InventoryInspectionUI.m_PreviewEntity = null

◆ m_PreviewRotation

vector SCR_InventoryInspectionUI.m_PreviewRotation = vector.Zero

◆ m_PreviewSharedItemRef

ref SharedItemRef SCR_InventoryInspectionUI.m_PreviewSharedItemRef = null

◆ m_PreviewTargetDistance

float SCR_InventoryInspectionUI.m_PreviewTargetDistance = 0

◆ m_PreviewTargetRotation

vector SCR_InventoryInspectionUI.m_PreviewTargetRotation = vector.Zero

◆ m_PreviewWorld

BaseWorld SCR_InventoryInspectionUI.m_PreviewWorld = null

◆ m_wButtonTraverseBack

SCR_InventoryNavigationButtonBack SCR_InventoryInspectionUI.m_wButtonTraverseBack
protected

◆ m_widget

Widget SCR_InventoryInspectionUI.m_widget = null

◆ m_wItemRender

RenderTargetWidget SCR_InventoryInspectionUI.m_wItemRender = null
protected

◆ m_workspaceWidget

WorkspaceWidget SCR_InventoryInspectionUI.m_workspaceWidget = null
protected

The documentation for this interface was generated from the following file: