TerrainCollisionBehavior
Package: Libraries.Interface.Behaviors.Scenes.Properties · Inherits from: Libraries.Language.Object, Libraries.Interface.Behaviors.Behavior
This behavior is used by the collision checkbox of a terrain's physics properties. When the checkbox is toggled, it tells the dialog, which sets whether the terrain collides in games.
Actions
GetDialog()
Returns the dialog this behavior tells about the checkbox.
Returns
Libraries.Interface.Controls.Scenes.Dialogs.TerrainPhysicsPropertiesDialog: The terrain's physics dialog
Run(Libraries.Interface.Events.BehaviorEvent event)
Returns the dialog this behavior tells about the checkbox.
Parameters
SetDialog(Libraries.Interface.Controls.Scenes.Dialogs.TerrainPhysicsPropertiesDialog dialog)
Sets the dialog this behavior tells about the checkbox.
Parameters
dialogLibraries.Interface.Controls.Scenes.Dialogs.TerrainPhysicsPropertiesDialog: The terrain's physics dialog