|
Arma Reforger Script API
|
Use this class when working with vehicles as the WeaponSlot is needed instead of MuzzleTransform. More...
Public Member Functions | |
| override vector | GetMuzzleDirection () |
| Get muzzle rotation global vector. | |
Public Member Functions inherited from SCR_BaseWeaponElevationDisplay | |
| void | UpdateElevationInfo (vector aimRotation) |
| override void | SetupHeadingWidgets (ResourceName headingHolderLayout="", ResourceName headingNotchLayout="") |
| Create all needed Widgets that display the current and next / previous heading. | |
| override void | CalculateWidgetScreenSizeUnscaled (Widget widget) |
| Calculate the size in screenspace 1 widget takes. | |
| override void | CalculateScreenSize (Widget degreeWidget) |
| Calculate the current screensize in DPI unscaled format. | |
| override void | DisplayUpdate (IEntity owner, float timeSlice) |
| override void | DisplayStartDraw (IEntity owner) |
Public Member Functions inherited from SCR_BaseHeadingDisplay | |
| override void | Show (bool show, float speed=UIConstants.FADE_RATE_INSTANT, EAnimationCurve curve=EAnimationCurve.LINEAR) |
| Show/hide InfoDisplay properly, not breaking other systems like AdaptiveOpacity or ConditionalVisibility. | |
| override void | DisplayStopDraw (IEntity owner) |
Public Member Functions inherited from SCR_InfoDisplayExtended | |
| void | SetEnabled (bool isEnabled) |
Public Member Functions inherited from SCR_InfoDisplay | |
| SCR_InfoDisplayHandler | GetHandler (TypeName handlerType) |
| SCR_InfoDisplayInvoker | GetOnStart () |
| SCR_InfoDisplayInvoker | GetOnStop () |
| IEntity | GetOwnerEntity () |
| Widget | GetContentWidget () |
| string | GetContentWidgetName () |
| void | SetRootWidget (notnull Widget root) |
| void | SetContentWidget (notnull Widget content) |
| bool | IsShown () |
| Widget | GetRootWidget () |
| bool | GetDimensions (out float width, out float height, bool addSafezones=true) |
| Get width and height of the InfoDisplay element, optionally with safezones adjustments. | |
| bool | GetAnchorPosition (out float x, out float y, EWidgetAnchor anchor=EWidgetAnchor.TOPLEFT, bool addSafezones=true) |
| Get width and height of the InfoDisplay element, optionally with safezones adjustments. | |
| void | RegisterToHudManager () |
Public Member Functions inherited from GroupInfoDisplay | |
| proto external int | GetInfoDisplays (out notnull array< BaseInfoDisplay > outInfoDisplays) |
Public Member Functions inherited from BaseInfoDisplay | |
| proto external GenericComponent | FindComponentInParentContainer (TypeName typeName) |
Use this class when working with vehicles as the WeaponSlot is needed instead of MuzzleTransform.
| override vector SCR_VehicleTurretElevationDisplay.GetMuzzleDirection | ( | ) |
Get muzzle rotation global vector.
Implements SCR_BaseHeadingDisplay.