M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
|
Classes | |
struct | Permission |
Public Types | |
enum | Axis { x , y , z } |
enum | PermissionType { scale , rotation } |
Public Member Functions | |
SpawnerEntityEditorHelper (ScriptComponentBehavior spawner) | |
GameEntity | GetGhostEntityOrChild (string name) |
void | Tick (float dt) |
void | GivePermission (string childName, Permission permission, Action< float > onChangeFunction) |
Gives a permission to a specific child for allowing it to be rotated along specified axis or to be scaled in specified axis. | |
void | ChangeStableChildMatrixFrameAndApply (string childName, MatrixFrame matrixFrame, bool updateTriad=true) |
string | GetPrefabName () |
void | SetupGhostMovement (string pathName) |
void | SetEnableAutoGhostMovement (bool enableAutoGhostMovement) |
Public Attributes | |
bool | LockGhostParent = true |
Properties | |
bool | IsValid [get] |
GameEntity | SpawnedGhostEntity [get] |
TaleWorlds.MountAndBlade.SpawnerEntityEditorHelper.SpawnerEntityEditorHelper | ( | ScriptComponentBehavior | spawner | ) |
GameEntity TaleWorlds.MountAndBlade.SpawnerEntityEditorHelper.GetGhostEntityOrChild | ( | string | name | ) |
void TaleWorlds.MountAndBlade.SpawnerEntityEditorHelper.Tick | ( | float | dt | ) |
void TaleWorlds.MountAndBlade.SpawnerEntityEditorHelper.GivePermission | ( | string | childName, |
Permission | permission, | ||
Action< float > | onChangeFunction | ||
) |
childName | |
permission | |
onChangeFunction | This function will be called when permitted action happened, input of this function will be euler angle for rotation and axis length for scale. |
void TaleWorlds.MountAndBlade.SpawnerEntityEditorHelper.ChangeStableChildMatrixFrameAndApply | ( | string | childName, |
MatrixFrame | matrixFrame, | ||
bool | updateTriad = true |
||
) |
string TaleWorlds.MountAndBlade.SpawnerEntityEditorHelper.GetPrefabName | ( | ) |
void TaleWorlds.MountAndBlade.SpawnerEntityEditorHelper.SetupGhostMovement | ( | string | pathName | ) |
void TaleWorlds.MountAndBlade.SpawnerEntityEditorHelper.SetEnableAutoGhostMovement | ( | bool | enableAutoGhostMovement | ) |
bool TaleWorlds.MountAndBlade.SpawnerEntityEditorHelper.LockGhostParent = true |
|
get |
|
get |