DestroyOutsideRuntimeBehavior

DestroyOutsideRuntimeBehavior

The DestroyOutsideRuntimeBehavior represents a behavior allowing objects to be moved using the mouse.

Constructor

new DestroyOutsideRuntimeBehavior()

Source:

Methods

getExtraBorder()

Get the additional border of the camera viewport buffer which triggers the destruction of an object.

Returns:
Type Description

The additional border around the camera viewport in pixels

Source:

setExtraBorder(val)

Set an additional border to the camera viewport as a buffer before the object gets destroyed.

Parameters:
Name Type Description
val

Border in pixels.

Source: