UE3:Engine (UT3): Difference between revisions

From Unreal Wiki, The Unreal Engine Documentation Site
Auto-generated page
 
m added missing members
 
Line 7: Line 7:
{{autogenerated}}
{{autogenerated}}
Engine: The base class of the global application object classes.
Engine: The base class of the global application object classes.
Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.


==Properties==
==Properties==
Line 403: Line 403:
* ''ScaleY'' - Text vertical scale
* ''ScaleY'' - Text vertical scale
* ''WrapWidth'' - Number of pixels before text should wrap
* ''WrapWidth'' - Number of pixels before text should wrap
====CheatWasEnabled====
{{code|native static final function '''CheatWasEnabled''' ()}}
Call when a cheat was enabled, to disable achievement progress


====GetAdditionalFont====
====GetAdditionalFont====

Latest revision as of 01:51, 16 August 2009

UT3 Object >> Subsystem >> Engine
Package:
Engine
Known classes within Engine:
GameViewportClient, LocalPlayer, UTGameViewportClient
Direct subclasses:
EditorEngine, GameEngine
This class in other games:

Engine: The base class of the global application object classes. Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

Properties

Property group 'Colors'

C_AddWire

Type: Object.Color


Default value:

Member Value
A 255
B 255
G 127
R 127

C_BrushWire

Type: Object.Color


Default value:

Member Value
A 255
B 0
G 0
R 192

C_BSPCollision

Type: Object.Color


Default value:

Member Value
A 255
B 223
G 157
R 149

C_NonSolidWire

Type: Object.Color


Default value:

Member Value
A 255
B 32
G 192
R 63

C_OrthoBackground

Type: Object.Color


Default value:

Member Value
A 255
B 163
G 163
R 163

C_ScaleBoxHi

Type: Object.Color


Default value:

Member Value
A 255
B 157
G 149
R 223

C_SemiSolidWire

Type: Object.Color


Default value:

Member Value
A 255
B 0
G 255
R 127

C_SubtractWire

Type: Object.Color


Default value:

Member Value
A 255
B 63
G 192
R 255

C_Volume

Type: Object.Color


Default value:

Member Value
A 255
B 255
G 196
R 255

C_VolumeCollision

Type: Object.Color


Default value:

Member Value
A 255
B 157
G 223
R 149

C_WireBackground

Type: Object.Color


Default value:

Member Value
A 255
B 0
G 0
R 0

C_WorldBox

Type: Object.Color


Default value:

Member Value
A 255
B 107
G 0
R 0

Property group 'Settings'

bForceStaticTerrain

Type: bool

Modifiers: config

Flag for forcing terrain to be 'static' (MinTessellationLevel = MaxTesselationLevel) Game time only...

bSubtitlesEnabled

Type: bool

Modifiers: config

Flag for completely disabling subtitles for localized sounds.

Default value: True

bSubtitlesForcedOff

Type: bool

Modifiers: config

Flag for forcibly disabling subtitles even if you try to turn them back on they will be off

bUseBackgroundLevelStreaming

Type: bool

Modifiers: config

Whether to allow background level streaming.

Default value: True

bUseSound

Type: bool

Modifiers: config


Default value: True

bUseTextureStreaming

Type: bool

Modifiers: config

Whether to use texture streaming.

Default value: True

StreamingDistanceFactor

Type: float

Fudge factor for tweaking the distance based miplevel determination

TimeBetweenPurgingPendingKillObjects

Type: float

Modifiers: config

Time in seconds (game time) we should wait between purging object references to objects that are pending kill

Default value: 30.0

Internal variables

See Engine internal variables.

Enums

ETransitionType

A transition type.

TT_None
TT_Paused
TT_Loading
TT_Saving
TT_Connecting
TT_Precaching

Structs

DropNoteInfo

Modifiers: native

Info about one note dropped in the map during PIE.

Object.Vector Location
Location to create Note actor in edited level.
Object.Rotator Rotation
Rotation to create Note actor in edited level.
string Comment
Text to assign to Note actor in edited level.

Static native functions

AddOverlay

native static final function AddOverlay (Font Font, string Text, float X, float Y, float ScaleX, float ScaleY, bool bIsCentered)

Adds a text overlay to the movie

Parameters:

  • Font - Font to use to display (must be in the root set so this will work during loads)
  • Text - Text to display
  • X - X location in resolution-independent coordinates (ignored if centered)
  • Y - Y location in resolution-independent coordinates
  • ScaleX - Text horizontal scale
  • ScaleY - Text vertical scale
  • bIsCentered - TRUE if the text should be centered

AddOverlayWrapped

native static final function AddOverlayWrapped (Font Font, string Text, float X, float Y, float ScaleX, float ScaleY, float WrapWidth)

Adds a wrapped text overlay to the movie

Parameters:

  • Font - Font to use to display (must be in the root set so this will work during loads)
  • Text - Text to display
  • X - X location in resolution-independent coordinates (ignored if centered)
  • Y - Y location in resolution-independent coordinates
  • ScaleX - Text horizontal scale
  • ScaleY - Text vertical scale
  • WrapWidth - Number of pixels before text should wrap

CheatWasEnabled

native static final function CheatWasEnabled ()

Call when a cheat was enabled, to disable achievement progress

GetAdditionalFont

native static final function Font GetAdditionalFont (int AdditionalFontIndex)

Returns the specified additional font.

Parameters:

  • AdditionalFontIndex - Index into the AddtionalFonts array.

GetAudioDevice

native static final function AudioDevice GetAudioDevice ()

Returns:

the audio device (will be None if sound is disabled)

GetCurrentWorldInfo

native static final function WorldInfo GetCurrentWorldInfo ()

Returns a pointer to the current world.

GetLargeFont

native static final function Font GetLargeFont ()

Returns the engine's default large font

GetLastMovieName

native static final function string GetLastMovieName ()

Returns:

Returns the name of the last movie that was played.

GetMediumFont

native static final function Font GetMediumFont ()

Returns the engine's default medium font

GetSmallFont

native static final function Font GetSmallFont ()

Returns the engine's default small font

GetTinyFont

native static final function Font GetTinyFont ()

Returns the engine's default tiny font

IsSplitScreen

native static final function bool IsSplitScreen ()

Returns:

whether we're currently running in splitscreen (more than one local player)

PlayLoadMapMovie

native static final function bool PlayLoadMapMovie ()

Play one of the LoadMap loading movies as configured by ini file

Returns:

TRUE if a movie was played

RemoveAllOverlays

native static final function RemoveAllOverlays ()

Removes all overlays from displaying

StopMovie

native static final function StopMovie ()

Stops the current movie