Torque3D Documentation / _generateds / GuiRenderTargetVizCtrl

GuiRenderTargetVizCtrl

consoledoc.h

The most widely used button class.

More...

Public Attributes

Detailed Description

The most widely used button class.

GuiRenderTargetVizCtrl renders seperately of, but utilizes all of the functionality of GuiBaseButtonCtrl. This grants GuiRenderTargetVizCtrl the versatility to be either of the 3 button types.

// Create a PushButton GuiRenderTargetVizCtrl that calls randomFunction when clicked
%button = new GuiRenderTargetVizCtrl()
{
   profile    = "GuiButtonProfile";
   buttonType = "PushButton";
   command    = "randomFunction();";
};

Public Attributes

SimObject cameraObject 
string RenderTargetName