| Home Page | Recent Changes | Preferences

# Object

UT2003 :: Object (Package: Core)

Object, the root class. All other classes are more or less directly derived from Object.

Object is the parent class of all objects in Unreal. All of the functions in the Object class are accessible everywhere, because everything derives from Object. Object is an abstract base class, in that it doesn’t do anything useful. All functionality is provided by subclasses, such as Texture (a texture map), TextBuffer (a chunk of text), and Class (which describes the class of other objects).

The UnrealScript compiler insists that you specify "extends Object" if you're extending Object, i.e. it does not implicitly extend the Object class if you forget to add it.

See Object (UT) for the UT version of this class.

## Properties

name Name (native, const, editconst)
  The name of this object. The string representation of this value is the same like the last part of the object's string representation.
class Class (native, const, editconst)
  The class of this object. (The class of e.g. `class'Engine.Mutator'` is `class'Core.Class'`, the class of an actual Mutator actor is `class'Engine.Mutator'`.)
pointer ObjectInternal[6] (native, private, const)
  (like all `pointer` variables declared as `int` in engine build 2136 and earlier)
Object Outer (native, const)
int ObjectFlags (native, const)

## Constants

Pi = 3.1415926535897932
MaxInt = 0x7fffffff = 2147483647
  Maximum possible integer value. Minimum integer: `~MaxInt = 0x80000000 = -2147483648`

Used for `ObjectFlags`:

RF_Transactional = 0x00000001
  Object supports editor undo/redo.
RF_Public = 0x00000004
  Object can be referenced by external package files.
RF_Transient = 0x00004000
  Object can't be saved or loaded.
RF_NotForClient = 0x00100000
  Don't load the object for game client.
RF_NotForServer = 0x00200000
  Don't load the object for game server.
RF_NotForEdit = 0x00400000
  Don't load the object for editor.

## Structs

See Built-in Structs.

## Enumerations

### ESheerAxis

SHEER_None
SHEER_XY
SHEER_XZ
SHEER_YX
SHEER_YZ
SHEER_ZX
SHEER_ZY

### ECamOrientation

Camera orientations for Matinee

CAMORIENT_None
CAMORIENT_LookAtActor
CAMORIENT_FacePath
CAMORIENT_Interpolate
CAMORIENT_Dolly

### EDrawPivot

DP_UpperLeft
DP_UpperMiddle
DP_UpperRight
DP_MiddleRight
DP_LowerRight
DP_LowerMiddle
DP_LowerLeft
DP_MiddleLeft
DP_MiddleMiddle

## Methods

The Object class contains the declarations for the Global Function and operators you can use in UnrealScript.

There are some other important function declarations in the Object class:

BeginState ( )
  Called when executing the `GotoState` method right after the object's state has changed.
EndState ( )
  Called by `GotoState` right before the state changes. This will also be called when an Actor's `Destroy` method is used.
Created ( )
  Called for non-Actor objects when they are created using New.

## Known UnrealScript Subclasses

### Documented Subclasses

- Actor
- Canvas
- Commandlet
- GUI
- Interactions
- LevelSummary
- Material – Textures and texture modifiers
- Palette
- ParticleEmitter – used by Epic's Emitters
- Player – the player input
- PlayerInput
- PlayInfo
- Primitive? – Meshes, Brush models and StaticMeshes
- Resource
- ScriptedAction – used by ScriptedSequence and ScriptedTrigger actors
- Sound
- SpeciesType
- Spline
- WebApplication
- WebRequest
- WebResponse

### Deprecated Or Not Implemented

- Bitmap – former base class for textures (now Material)
- Time
- Locale

### Not Yet Documented

(should be moved to one of the above categories as soon as UT2003 information become available)

If subclasses are linked in this section then they either still contain UT information or haven't been moved to Documented Subclasses yet. (Please do so in this case.)

- AdminBase?
- AnimEditProps?
- AnimNotify?
- Animation
- BitArray?
- BrushBuilder
- CameraEffect?
- Channel?
- CheatManager?
- Client?
- DecoText?
- Download?
- DrawOpBase?
- EditInfo?
- Exporter?
- Factory?
- Field?
- Font – needs to be adapted for UT2003.
- GameConfigSet?
- GameProfile?
- GlobalTempObjects?
- I3DL2Listener?
- KMeshProperties?
- KarmaParamsCollision?
- LadderInfo?
- Language?
- LevelBase?
- Linker?
- Listitem?
- LogEntry?
- Manifest?
- MatObject?
- MatchInfo?
- MaterialFactory?
- MeshAnimation?
- NotifyProperties?
- ObjectArray?
- ObjectPool
- OptionsProxy?
- Package
- PackageCheckInfo?
- PackageMap?
- PendingLevel?
- Polys?
- Prefab
- ReachSpec?
- RenderResource?
- RosterEntry?
- SequEditProps?
- StaticMeshInstance?
- StringArray?
- Subsystem
- TerrainSector?
- TexAligner?
- TextBuffer?
- TransBuffer?
- Transactor?
- WindowManager?
- XAdminBase?
- xPawnGibGroup?
- xPawnSoundGroup?
- xPrivilegeBase?
- xUtil?

## Related topics

- UnrealScript
- Actor Class Hierarchy
- GUI Class Hierarchy

Category Class (UT2003)

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Image Uploads

Random Page

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

Mapping Topics

Mapping Lessons

UnrealEd Interface

Questions&Answers

Scripting Topics

Scripting Lessons

Making Mods

Class Tree

Questions&Answers

Modeling Topics

Questions&Answers

Log In