|
static bool | CopyDataFromOldToNewComponent (notnull IEntitySource entitySource, notnull IEntityComponentSource componentSource, notnull IEntitySource entityDestination, notnull IEntityComponentSource componentDestination) |
| Copies bool, float, int, string (including ResourceName), vector and object values from the old to the new component source using World Editor API.
|
|
static string | GetShortestVectorString (vector value) |
|
|
static bool | CopyVariablesFromTo (IEntitySource entitySource, IEntityComponentSource source, array< ref ContainerIdPathEntry > path) |
|
◆ CopyDataFromOldToNewComponent()
static bool SCR_EntitySourceHelper.CopyDataFromOldToNewComponent |
( |
notnull IEntitySource | entitySource, |
|
|
notnull IEntityComponentSource | componentSource, |
|
|
notnull IEntitySource | entityDestination, |
|
|
notnull IEntityComponentSource | componentDestination ) |
|
static |
Copies bool, float, int, string (including ResourceName), vector and object values from the old to the new component source using World Editor API.
- Parameters
-
[in] | entitySource | |
[in] | entityDestination | |
[in] | componentSource | |
[in] | componentDestination | |
- Returns
- true on success, false otherwise
◆ CopyVariablesFromTo()
static bool SCR_EntitySourceHelper.CopyVariablesFromTo |
( |
IEntitySource | entitySource, |
|
|
IEntityComponentSource | source, |
|
|
array< ref ContainerIdPathEntry > | path ) |
|
staticprotected |
- Parameters
-
[in] | entitySource | |
[in] | source | |
[in] | path | |
- Returns
◆ GetShortestVectorString()
static string SCR_EntitySourceHelper.GetShortestVectorString |
( |
vector | value | ) |
|
|
static |
The documentation for this interface was generated from the following file:
- WorkbenchGame/WorldEditor/Helpers/SCR_EntitySourceHelper.c