Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SCR_EditorImageGeneratorEntity Interface Reference
Inheritance diagram for SCR_EditorImageGeneratorEntity:
[legend]

Public Member Functions

SCR_EditorImagePositionEntity FindSuitablePosition (array< EEditableEntityLabel > labels)
 
void AddPosition (SCR_EditorImagePositionEntity position)
 
override void EOnFrame (IEntity owner, float timeSlice)
 
void SCR_EditorImageGeneratorEntity (IEntitySource src, IEntity parent)
 
override void _WB_AfterWorldUpdate (float timeSlice)
 
override void _WB_GetBoundBox (inout vector min, inout vector max, IEntitySource src)
 

Static Public Member Functions

static SCR_EditorImageGeneratorEntity GetInstance ()
 
static void AddSelectedPosition (SCR_EditorImagePositionEntity position)
 

Protected Member Functions

bool IsPositionSelected (SCR_EditorImagePositionEntity position)
 
void AddSelectedPrefab (ResourceName prefab, string filePath)
 Add selected assets in resource browser to get generated images.
 
void RequestClose ()
 
bool Init ()
 

Protected Attributes

int m_iImageWidth
 
int m_iImageHeight
 
bool m_bManualProgress
 
bool m_bDebugMode
 
int m_iInit = 0
 
ref SCR_SortedArray< SCR_EditorImagePositionEntitym_aPositions = new SCR_SortedArray<SCR_EditorImagePositionEntity>()
 
ref array< ref SCR_EditorImageGeneratorPrefabm_aSelectedPrefabs = {}
 
int m_iSelectedPrefabsCount
 
float m_fTime
 
float m_fTimeNext = -1
 
float m_fTimeRemaining
 
int m_iPrefabIndex = -1
 
SCR_EditorImageGeneratorPrefab m_CurrentPrefab
 
bool m_bIsScreenshotMade
 

Static Protected Attributes

static ref array< vector > s_aSelectedPositions = {}
 

Constructor & Destructor Documentation

◆ SCR_EditorImageGeneratorEntity()

void SCR_EditorImageGeneratorEntity.SCR_EditorImageGeneratorEntity ( IEntitySource  src,
IEntity  parent 
)

Member Function Documentation

◆ _WB_AfterWorldUpdate()

override void SCR_EditorImageGeneratorEntity._WB_AfterWorldUpdate ( float  timeSlice)

◆ _WB_GetBoundBox()

override void SCR_EditorImageGeneratorEntity._WB_GetBoundBox ( inout vector  min,
inout vector  max,
IEntitySource  src 
)

◆ AddPosition()

void SCR_EditorImageGeneratorEntity.AddPosition ( SCR_EditorImagePositionEntity  position)

◆ AddSelectedPosition()

static void SCR_EditorImageGeneratorEntity.AddSelectedPosition ( SCR_EditorImagePositionEntity  position)
static

◆ AddSelectedPrefab()

void SCR_EditorImageGeneratorEntity.AddSelectedPrefab ( ResourceName  prefab,
string  filePath 
)
protected

Add selected assets in resource browser to get generated images.

\Selected asset has to exist in worl Eden_AssetImage and has to have same labels set \Used for GetResourceBrowserSelection callback

◆ EOnFrame()

override void SCR_EditorImageGeneratorEntity.EOnFrame ( IEntity  owner,
float  timeSlice 
)

◆ FindSuitablePosition()

SCR_EditorImagePositionEntity SCR_EditorImageGeneratorEntity.FindSuitablePosition ( array< EEditableEntityLabel >  labels)

◆ GetInstance()

static SCR_EditorImageGeneratorEntity SCR_EditorImageGeneratorEntity.GetInstance ( )
static

◆ Init()

bool SCR_EditorImageGeneratorEntity.Init ( )
protected

◆ IsPositionSelected()

bool SCR_EditorImageGeneratorEntity.IsPositionSelected ( SCR_EditorImagePositionEntity  position)
protected

◆ RequestClose()

void SCR_EditorImageGeneratorEntity.RequestClose ( )
protected

Member Data Documentation

◆ m_aPositions

ref SCR_SortedArray<SCR_EditorImagePositionEntity> SCR_EditorImageGeneratorEntity.m_aPositions = new SCR_SortedArray<SCR_EditorImagePositionEntity>()
protected

◆ m_aSelectedPrefabs

ref array<ref SCR_EditorImageGeneratorPrefab> SCR_EditorImageGeneratorEntity.m_aSelectedPrefabs = {}
protected

◆ m_bDebugMode

bool SCR_EditorImageGeneratorEntity.m_bDebugMode
protected

◆ m_bIsScreenshotMade

bool SCR_EditorImageGeneratorEntity.m_bIsScreenshotMade
protected

◆ m_bManualProgress

bool SCR_EditorImageGeneratorEntity.m_bManualProgress
protected

◆ m_CurrentPrefab

SCR_EditorImageGeneratorPrefab SCR_EditorImageGeneratorEntity.m_CurrentPrefab
protected

◆ m_fTime

float SCR_EditorImageGeneratorEntity.m_fTime
protected

◆ m_fTimeNext

float SCR_EditorImageGeneratorEntity.m_fTimeNext = -1
protected

◆ m_fTimeRemaining

float SCR_EditorImageGeneratorEntity.m_fTimeRemaining
protected

◆ m_iImageHeight

int SCR_EditorImageGeneratorEntity.m_iImageHeight
protected

◆ m_iImageWidth

int SCR_EditorImageGeneratorEntity.m_iImageWidth
protected

◆ m_iInit

int SCR_EditorImageGeneratorEntity.m_iInit = 0
protected

◆ m_iPrefabIndex

int SCR_EditorImageGeneratorEntity.m_iPrefabIndex = -1
protected

◆ m_iSelectedPrefabsCount

int SCR_EditorImageGeneratorEntity.m_iSelectedPrefabsCount
protected

◆ s_aSelectedPositions

ref array<vector> SCR_EditorImageGeneratorEntity.s_aSelectedPositions = {}
staticprotected

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