Manual     Reference     Scripting  
  
Scripting > Editor Classes > MenuCommand   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Enumerations
  • History
  • Index
  • MenuCommand
  • All Members
  • Variables
  • context
  • userData
  • Constructors
  • MenuCommand

MenuCommand.MenuCommand  

static function MenuCommand (inContext : Object, inUserData : int) : MenuCommand

Description

Creates a new MenuCommand object.

Context and userData will be initialized to inContext and inUserdata respectively.

static function MenuCommand (inContext : Object) : MenuCommand

Description

Creates a new MenuCommand object.

Context will be initialized to inContext and userdata will be set to 0.