TSCARObject

From SCAR Divi Manual
Jump to: navigation, search

Hierarchy

TObject > TSCARObject

Availability

SCAR Divi 3.35 > Current

Description

A basic object class tied into SCAR's internal resource management systems. Any TSCARObject created in a script will be freed from the memory when the script finishes running, given that the object was created inside of the script-thread.

The resource manager for TSCARObject can be disabled using the compile directive "RESOURCE_MANAGEMENT".

{$RESOURCE_MANAGEMENT OFF}

begin
  // No resource management for TSCARObject!
end.

Members

Methods

Properties