|
static SCR_BasePreviewEntity | SpawnPreviewFromEntity (IEntity entity, ResourceName previewPrefab, BaseWorld world=null, EntitySpawnParams spawnParams=null, ResourceName material=ResourceName.Empty, EPreviewEntityFlag flags=0) |
| Spawn preview entity from existing entity.
|
|
static array< ref SCR_BasePreviewEntry > | GetPreviewEntriesFromEntity (IEntity entity, out EntitySpawnParams spawnParams=null, EPreviewEntityFlag flags=0) |
| Get preview entries from existing entity.
|
|
static void | GetPreviewEntries (IEntity entity, out notnull array< ref SCR_BasePreviewEntry > outEntries, out vector rootTransform[4], int parentID=-1, EPreviewEntityFlag flags=0, TraceParam trace=null) |
| Get preview entries from existing entity.
|
|
static SCR_BasePreviewEntity | SpawnPreview (notnull array< ref SCR_BasePreviewEntry > entries, ResourceName previewPrefab, BaseWorld world=null, EntitySpawnParams spawnParams=null, ResourceName material=ResourceName.Empty, EPreviewEntityFlag flags=0) |
| Spawn preview entity from entries.
|
|
|
void | SetPreviewTransform (vector worldTransform[4], EEditorTransformVertical verticalMode, float heightTerrain=0, bool isUnderwater=false, TraceParam trace=null) |
| Set transformation of the preview.
|
|
array< SCR_BasePreviewEntity > | GetPreviewChildren () |
| Get all direct preview entity children.
|
|
IEntity | GetSourceEntity () |
| Get entity from which the preview was copied from.
|
|
void | GetPreviewBounds (out vector outBoundMin, out vector outBoundMax) |
| Get local bounding box of the preview entity (including all children)
|
|
bool | HasMultipleEditableEntities () |
|
void | SCR_BasePreviewEntity (IEntitySource src, IEntity parent) |
|
void | ~SCR_BasePreviewEntity () |
|
override void | _WB_GetBoundBox (inout vector min, inout vector max, IEntitySource src) |
|
override void | _WB_AfterWorldUpdate (float timeSlice) |
|
void | SetChildTransform (EEditorTransformVertical verticalMode, float heightTerrain, bool isUnderwater=false, TraceParam trace=null) |
|
void | SetPreviewObject (VObject mesh, ResourceName material) |
|
void | EOnPreviewInit (SCR_BasePreviewEntry entry, SCR_BasePreviewEntity root) |
| Init event called when the preview is created.
|
|
void | EOnRootPreviewInit (array< ref SCR_BasePreviewEntry > entries) |
| Init event called on preview root entity.
|
|
EPreviewEntityFlag | m_Flags |
|
IEntity | m_Entity |
|
IEntitySource | m_EntitySource |
|
float | m_fHeightTerrain = -1 |
|
bool | m_bIsOnOrigTransform = true |
|
vector | m_vLocalTransform [4] |
|
vector | m_vTerrainTransform [4] |
|
ref array< SCR_BasePreviewEntity > | m_aChildren |
|
vector | m_vBounds [2] |
|
bool | m_bHasMultipleEditableEntities |
|
Preview entity created from existing entities.