Mostly Harmless

Difference between revisions of "Const"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Created page with '{{disambig}} The keyword '''const''' is used: * to define UnrealScript constants * as a modifier for declaring variables as not directly modifiable from UnrealScript code...')
 
m
Line 3: Line 3:
 
* to define UnrealScript [[constants]]
 
* to define UnrealScript [[constants]]
 
* as a modifier for declaring [[variables]] as not directly modifiable from UnrealScript code
 
* as a modifier for declaring [[variables]] as not directly modifiable from UnrealScript code
* in Unreal Engine 3 as a native implementation modifier for [[functions]] and parameters
+
* in Unreal Engine 3 as a native implementation modifier for [[functions]] and parameters or
 +
* to reference a [[Constants#Usage|constant]]

Revision as of 02:50, 17 May 2010

The keyword const is used:

  • to define UnrealScript constants
  • as a modifier for declaring variables as not directly modifiable from UnrealScript code
  • in Unreal Engine 3 as a native implementation modifier for functions and parameters or
  • to reference a constant