CColorRef:new CColorRef:Get

CColorRef:delete


The delete method deletes an instance of the CColorRef class. Typically, the object should be deleted when you are finished using it in order to release memory used by the object. Note that Mira automatically deletes all class objects when the script finishes.

Syntax

CColorRef:delete()

Example

 

C = CColorRef:new()

-- create a new instance of of the CColorRef class.

  ...

-- do something with the CColorRef.

C:delete()

-- delete the object and its associated memory.

Related Topics

CColorRef, new