M&B: Bannerlord 1.2.9
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
SandBox.SettlementVisualizer Class Reference

Inherits TaleWorlds.Engine.ScriptComponentBehavior.

Public Attributes

SimpleButton ReloadXML
 
SimpleButton SaveXML
 
SimpleButton SnapToTerrain
 
SimpleButton CheckNavMesh
 
bool renderSettlementName = false
 
float translateScale = 1.0f
 

Protected Member Functions

override void OnEditorVariableChanged (string variableName)
 Called when an object's field has changed from the editor.
 
override void OnEditorTick (float dt)
 
override bool IsOnlyVisual ()
 
- Protected Member Functions inherited from TaleWorlds.Engine.ScriptComponentBehavior
void InvalidateWeakPointersIfValid ()
 
 ScriptComponentBehavior ()
 
virtual void OnRemoved (int removeReason)
 

Additional Inherited Members

- Public Types inherited from TaleWorlds.Engine.ScriptComponentBehavior
enum  TickRequirement : uint {
  None = 0x00000000 ,
  TickOccasionally = 0x00000001 ,
  Tick = 0x00000002 ,
  TickParallel = 0x00000004 ,
  TickParallel2 = 0x00000008
}
 
- Public Member Functions inherited from TaleWorlds.Engine.ScriptComponentBehavior
void SetScriptComponentToTick (TickRequirement value)
 
void SetScriptComponentToTickMT (TickRequirement value)
 
virtual TickRequirement GetTickRequirement ()
 
- Properties inherited from TaleWorlds.Engine.ScriptComponentBehavior
GameEntity GameEntity [get]
 
ManagedScriptComponent ScriptComponent [get]
 
ManagedScriptHolder ManagedScriptHolder [get]
 
Scene Scene [get]
 

Member Function Documentation

◆ OnEditorVariableChanged()

override void SandBox.SettlementVisualizer.OnEditorVariableChanged ( string variableName)
protectedvirtual
Parameters
variableNameName of the field which has just changed.

Reimplemented from TaleWorlds.Engine.ScriptComponentBehavior.

◆ OnEditorTick()

override void SandBox.SettlementVisualizer.OnEditorTick ( float dt)
protectedvirtual

◆ IsOnlyVisual()

override bool SandBox.SettlementVisualizer.IsOnlyVisual ( )
protectedvirtual

Member Data Documentation

◆ ReloadXML

SimpleButton SandBox.SettlementVisualizer.ReloadXML

◆ SaveXML

SimpleButton SandBox.SettlementVisualizer.SaveXML

◆ SnapToTerrain

SimpleButton SandBox.SettlementVisualizer.SnapToTerrain

◆ CheckNavMesh

SimpleButton SandBox.SettlementVisualizer.CheckNavMesh

◆ renderSettlementName

bool SandBox.SettlementVisualizer.renderSettlementName = false

◆ translateScale

float SandBox.SettlementVisualizer.translateScale = 1.0f