![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Classes | |
| class | SCR_BaseAreaMeshComponentClass |
Enumerations | |
| enum | EAreaMeshShape { ELLIPSE = 10 , RECTANGLE = 20 } |
Functions | |
| void | ActivateEveryFrame () |
| Activate the area so it could be updated every frame. | |
| void | DeactivateEveryFrame () |
| Deactivate the area. | |
| float | GetRadius () |
| float | GetHeight () |
| EAreaMeshShape | GetShape () |
| int | GetResolution () |
| void | GetDimensions2D (out float width, out float length) |
| void | GetDimensions3D (out vector dimensions) |
| vector | GetMeshOffset (IEntity owner) |
| ResourceName | GetMaterial () |
| Get material used for area mesh. | |
| void | GenerateAreaMesh () |
| Generate area mesh based on its settings. | |
| override void | EOnFrame (IEntity owner, float timeSlice) |
| override void | OnPostInit (IEntity owner) |
| Editable Mine. | |
|
protected |
| Enumerator | |
|---|---|
| ELLIPSE | Ellipse using Radius and Resolution. |
| RECTANGLE | Rectangle shape that has a width and length. |
Definition at line 255 of file SCR_BaseAreaMeshComponent.c.
|
protected |
Activate the area so it could be updated every frame.
Definition at line 40 of file SCR_BaseAreaMeshComponent.c.
|
protected |
Deactivate the area.
Definition at line 47 of file SCR_BaseAreaMeshComponent.c.
Definition at line 230 of file SCR_BaseAreaMeshComponent.c.
|
protected |
Generate area mesh based on its settings.
Definition at line 128 of file SCR_BaseAreaMeshComponent.c.
Returns width and length To be overloaded by inherited classes. By default uses radius as width and length unless function is overwritten
| [out] | width | Width of Zone (x) |
| [out] | length | length of Zone (z) |
Definition at line 92 of file SCR_BaseAreaMeshComponent.c.
|
protected |
Returns dimensions in vector
| [out] | dimensions | width, height, length |
Definition at line 101 of file SCR_BaseAreaMeshComponent.c.
|
protected |
|
protected |
Get material used for area mesh.
Definition at line 121 of file SCR_BaseAreaMeshComponent.c.
Get the offset of the AreaMesh. Can be overwritten to set custom position. Only x and z are used. Height is ignored
| [in] | owner |
Definition at line 114 of file SCR_BaseAreaMeshComponent.c.
|
protected |
Get radius of the area. To be overloaded by inherited classes.
Definition at line 21 of file SCR_CampaignBuildingAreaMeshComponent.c.
|
protected |
Get Resolution of the area. Always 4 if Rectangle
Definition at line 78 of file SCR_BaseAreaMeshComponent.c.
|
protected |
Return shape if areaMesh
Definition at line 69 of file SCR_BaseAreaMeshComponent.c.
|
protected |
Definition at line 30 of file SCR_BaseAreaMeshComponent.c.
|
protected |
Definition at line 21 of file SCR_BaseAreaMeshComponent.c.
|
protected |
Definition at line 33 of file SCR_BaseAreaMeshComponent.c.
|
protected |
Definition at line 24 of file SCR_BaseAreaMeshComponent.c.
|
protected |
Definition at line 12 of file SCR_BaseAreaMeshComponent.c.
|
protected |
Definition at line 15 of file SCR_BaseAreaMeshComponent.c.
|
protected |
Definition at line 27 of file SCR_BaseAreaMeshComponent.c.
|
protected |
Definition at line 36 of file SCR_BaseAreaMeshComponent.c.
|
protected |
Definition at line 35 of file SCR_BaseAreaMeshComponent.c.
|
protected |
Definition at line 18 of file SCR_BaseAreaMeshComponent.c.
| SCR_BaseAreaMeshComponentClass PREVIEW_RESOLUTION = 48 |