◆ SCR_BasePreviewEntry()
void SCR_BasePreviewEntry.SCR_BasePreviewEntry |
( |
bool |
init = false | ) |
|
◆ CopyFrom()
◆ GetScale()
float SCR_BasePreviewEntry.GetScale |
( |
| ) |
|
Get the scale saved in the Preview entity.
Note that the first entry in the scale vector is used
- Returns
- Scale
◆ LoadTransform()
void SCR_BasePreviewEntry.LoadTransform |
( |
vector |
outTransform[4] | ) |
|
Load entry data into transformation matrix.
- Parameters
-
[out] | outTransform | Local transformation matrix to be filled with entry data |
◆ Log()
void SCR_BasePreviewEntry.Log |
( |
int |
index | ) |
|
◆ SaveToContainer()
void SCR_BasePreviewEntry.SaveToContainer |
( |
WorldEditorAPI |
api, |
|
|
IEntitySource |
entitySource, |
|
|
array< ref ContainerIdPathEntry > |
entryPath |
|
) |
| |
◆ SaveTransform()
void SCR_BasePreviewEntry.SaveTransform |
( |
vector |
transform[4] | ) |
|
Save transformation matrix in entry data.
- Parameters
-
transform | Local transformation matrix |
◆ SetScale()
void SCR_BasePreviewEntry.SetScale |
( |
float |
scale | ) |
|
Save scale of entity within vector scale.
- Parameters
-
◆ m_Entity
IEntity SCR_BasePreviewEntry.m_Entity |
◆ m_EntitySource
IEntitySource SCR_BasePreviewEntry.m_EntitySource |
◆ m_Flags
EPreviewEntityFlag SCR_BasePreviewEntry.m_Flags |
◆ m_fQuat
float SCR_BasePreviewEntry.m_fQuat[4] |
◆ m_iParentID
int SCR_BasePreviewEntry.m_iParentID |
◆ m_iPivotID
string SCR_BasePreviewEntry.m_iPivotID |
◆ m_Mesh
ResourceName SCR_BasePreviewEntry.m_Mesh |
◆ m_Shape
EPreviewEntityShape SCR_BasePreviewEntry.m_Shape |
◆ m_vAngles
vector SCR_BasePreviewEntry.m_vAngles |
◆ m_vAnglesTerrain
vector SCR_BasePreviewEntry.m_vAnglesTerrain |
◆ m_vHeightTerrain
float SCR_BasePreviewEntry.m_vHeightTerrain |
◆ m_vPosition
vector SCR_BasePreviewEntry.m_vPosition |
◆ m_vScale
vector SCR_BasePreviewEntry.m_vScale |
The documentation for this interface was generated from the following file:
- Game/Entities/Preview/SCR_BasePreviewEntry.c