Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AssetReference

A reference to an asset that has been added to a scenario. Contains options for how to handle the asset.

Hierarchy

  • AssetReference

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

collisionCount

collisionCount: number = -1

The number of assets that need to be reached before the simulation will stop. Only valid if operation is AssetOperation::STOP_AFTER_X.

Protected name

name: string = ""

The name of the asset that was added.

operation

operation: AssetOperation = AssetOperation.STOP_AFTER_ALL

The affect the asset will have on the simulation.

Methods

checkValid

getName

  • getName(): string
  • Returns string