Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

GameFramework.MobileMenuScene

Extends
Object
Modifiers
native

MobileMenuScene This is the base class for the mobile menu system Copyright 1998-2011 Epic Games, Inc. All Rights Reserved.

Core.Object
|   
+-- GameFramework.MobileMenuScene

Direct Known Subclasses:

MobileMenuBase, MobileMenuControls, MobileMenuPause, MobileMenuSplash

Constants Summary
Inherited Contants from Core.Object
AspectRatio16x9, AspectRatio4x3, AspectRatio5x4, DegToRad, DegToUnrRot, INDEX_NONE, InvAspectRatio16x9, InvAspectRatio4x3, InvAspectRatio5x4, MaxInt, Pi, RadToDeg, RadToUnrRot, UnrRotToDeg, UnrRotToRad

Variables Summary
Options
floatAuthoredGlobalScale
boolbApplyGlobalScaleHeight
boolbApplyGlobalScaleLeft
boolbApplyGlobalScaleTop
boolbApplyGlobalScaleWidth
boolbRelativeHeight
boolbRelativeLeft
boolbRelativeTop
boolbRelativeWidth
floatOpacity
Positions
floatHeight
floatLeft
floatTop
floatWidth
Sounds
SoundCueUITouchSound
SoundCueUIUnTouchSound
UI
boolbSceneDoesNotRequireInput
MobilePlayerInputInputOwner
stringMenuName
array<MobileMenuObject>MenuObjects
fontSceneCaptionFont
byteTouchpadIndex
Inherited Variables from Core.Object
Class, HashNext, HashOuterNext, Linker, LinkerIndex, Name, NetIndex, ObjectArchetype, ObjectFlags, ObjectInternalInteger, Outer, StateFrame, VfTableObject

Enumerations Summary
Inherited Enumerations from Core.Object
AlphaBlendType, EAspectRatioAxisConstraint, EAutomatedRunResult, EAxis, EDebugBreakType, EInputEvent, EInterpCurveMode, EInterpMethodType, ETickingGroup

Structures Summary
Inherited Structures from Core.Object
Array_Mirror, BitArray_Mirror, BoneAtom, Box, BoxSphereBounds, Color, Cylinder, double, FColorVertexBuffer_Mirror, Guid, IndirectArray_Mirror, InlinePointerArray_Mirror, InterpCurveFloat, InterpCurveLinearColor, InterpCurvePointFloat, InterpCurvePointLinearColor, InterpCurvePointQuat, InterpCurvePointTwoVectors, InterpCurvePointVector, InterpCurvePointVector2D, InterpCurveQuat, InterpCurveTwoVectors, InterpCurveVector, InterpCurveVector2D, IntPoint, LinearColor, Map_Mirror, Matrix, MultiMap_Mirror, OctreeElementId, Plane, pointer, Quat, qword, RawDistribution, RenderCommandFence, RenderCommandFence_Mirror, Rotator, Set_Mirror, SHVector, SHVectorRGB, SparseArray_Mirror, TAlphaBlend, ThreadSafeCounter, TPOV, TwoVectors, UntypedBulkData_Mirror, Vector, Vector2D, Vector4

Functions Summary
function CleanUpScene ()
function Closed ()))
functionbool Closing ()))
functionMobileMenuObject FindMenuObject (string Tag))
functionfloat GetGlobalScaleX ()
functionfloat GetGlobalScaleY ()
event InitMenuScene (MobilePlayerInput PlayerInput, int ScreenWidth, int ScreenHeight))
function MadeTopMenu ()))
functionbool MobileMenuCommand (string Command))
eventbool OnSceneTouch (EZoneTouchEvent EventType, float TouchX, float TouchY))
event OnTouch (MobileMenuObject Sender, loat TouchX, float TouchY, bool bCancel))
function Opened (string Mode))
function RenderScene (Canvas Canvas, loat RenderDelta))
Inherited Functions from Core.Object
!, !=, $, $=, %, &, &&, *, **, *=, +, ++, +=, -, --, -=, / , /=, <, <<, <=, ==, >, >=, >>, >>>, @, @=, Abs, Acos, Asc, Asin, Atan, Atan2, BeginState, ByteToFloat, Caps, Chr, Clamp, ClampLength, ClampRotAxis, ClampRotAxisFromBase, ClampRotAxisFromRange, ClassIsChildOf, ClockwiseFrom, ColorToLinearColor, ContinuedState, Cos, Cross, DebugBreak, Disable, Dot, DumpStateStack, DynamicLoadObject, Enable, EndState, EvalInterpCurveFloat, EvalInterpCurveVector, EvalInterpCurveVector2D, Exp, FCeil, FClamp, FCubicInterp, FFloor, FindDeltaAngle, FindObject, FInterpConstantTo, FInterpEaseIn, FInterpEaseInOut, FInterpEaseOut, FInterpTo, float, FloatToByte, FMax, FMin, FPctByRange, FRand, GetAngularDegreesFromRadians, GetAngularDistance, GetAngularFromDotDist, GetAxes, GetBuildChangelistNumber, GetDotDistance, GetEngineVersion, GetEnum, GetFuncName, GetHeadingAngle, GetMappedRangeValue, GetPackageName, GetPerObjectConfigSections, GetRangePctByValue, GetRangeValueByPct, GetRightMost, GetRotatorAxis, GetScriptTrace, GetStateName, GetSystemTime, GetUnAxes, GotoState, InCylinder, InStr, InverseTransformNormal, InverseTransformVector, IsA, IsChildState, IsInState, IsPendingKill, IsUTracing, IsZero, JoinArray, Left, Len, Lerp, LerpColor, Localize, Locs, Loge, LogInternal, MakeColor, MakeLinearColor, MakeRotationMatrix, MakeRotationTranslationMatrix, MakeRotator, MatrixGetAxis, MatrixGetOrigin, MatrixGetRotator, Max, Mid, Min, MirrorVectorByNormal, Normal, Normalize, NormalizeRotAxis, NoZDot, OrthoRotation, ParseLocalizedPropertyPath, ParseStringIntoArray, PathName, PausedState, PointDistToLine, PointDistToPlane, PointDistToSegment, PointProjectToPlane, PoppedState, PopState, ProjectOnTo, PushedState, PushState, QuatDot, QuatFindBetween, QuatFromAxisAndAngle, QuatFromRotator, QuatInvert, QuatProduct, QuatRotateVector, QuatSlerp, QuatToRotator, Rand, RDiff, Repl, Right, RInterpTo, RLerp, RotRand, Round, RSize, RSmerp, RTransform, SaveConfig, SClampRotAxis, ScriptTrace, SetUTracing, Sin, Split, SplitString, Sqrt, Square, StaticSaveConfig, Tan, TimeStamp, ToHex, TransformNormal, TransformVector, TransformVectorByRotation, UnwindHeading, vect2d, VInterpTo, VLerp, VRand, VRandCone, VRandCone2, VSize, VSize2D, VSizeSq, VSizeSq2D, VSmerp, WarnInternal, ^, ^^, |, ||, ~, ~=


Variables Detail

Options

AuthoredGlobalScale Source code

var(Options) float AuthoredGlobalScale;
This is the scale factor you are authoring for. 2.0 is useful for Retina display resolution (960x640), 1.0 for iPads and older iPhones

bApplyGlobalScaleHeight Source code

var(Options) bool bApplyGlobalScaleHeight;

bApplyGlobalScaleLeft Source code

var(Options) bool bApplyGlobalScaleLeft;

bApplyGlobalScaleTop Source code

var(Options) bool bApplyGlobalScaleTop;

bApplyGlobalScaleWidth Source code

var(Options) bool bApplyGlobalScaleWidth;

bRelativeHeight Source code

var(Options) bool bRelativeHeight;

bRelativeLeft Source code

var(Options) bool bRelativeLeft;

bRelativeTop Source code

var(Options) bool bRelativeTop;

bRelativeWidth Source code

var(Options) bool bRelativeWidth;

Opacity Source code

var(Options) float Opacity;
The general opacity of the scene

Positions

Height Source code

var(Positions) float Height;

Left Source code

var(Positions) float Left;
Positions and sizing

Top Source code

var(Positions) float Top;

Width Source code

var(Positions) float Width;

Sounds

UITouchSound Source code

var(Sounds) SoundCue UITouchSound;
Holds a reference to the sound to play when a touch occurs in the mobile menu system

UIUnTouchSound Source code

var(Sounds) SoundCue UIUnTouchSound;
Holds a reference to the sound to play when a touch occurs in the mobile menu system

UI

bSceneDoesNotRequireInput Source code

var(UI) bool bSceneDoesNotRequireInput;

InputOwner Source code

var(UI) MobilePlayerInput InputOwner;
A reference to the input owner

MenuName Source code

var(UI) string MenuName;

MenuObjects Source code

var(UI) instanced array<MobileMenuObject> MenuObjects;

SceneCaptionFont Source code

var(UI) font SceneCaptionFont;
Allows for a single font for all buttons in a scene

TouchpadIndex Source code

var(UI) byte TouchpadIndex;
Which touchpad this menu will respond to


Functions Detail

CleanUpScene Source code

native function CleanUpScene ( )

Closed Source code

function Closed ( ) )
Closed will be called when the closing process is done and the scene has been removed from the stack

Closing Source code

function bool Closing ( ) )
Closing will be called before the closing process really begins. Return false if you wish to override the closing process.
@returns true if we can close

FindMenuObject Source code

function MobileMenuObject FindMenuObject ( string Tag) )
Search the menu stack for a object
@param Tag - The name of the object to find.
@returns the object

GetGlobalScaleX Source code

native static final function float GetGlobalScaleX ( )
Native functions to get the global scale to apply to UI elements that desire such

GetGlobalScaleY Source code

native static final function float GetGlobalScaleY ( )

InitMenuScene Source code

event InitMenuScene ( MobilePlayerInput PlayerInput, int ScreenWidth, int ScreenHeight) )
Script events that allows for menu setup. It's called at the beginning of the native InitMenuScene. Nothing is set at this point and allows the scene to override default settings
@param PlayerInput - A pointer to the MobilePlayerInput object that owns the UI scene
@param ScreenWidth - The Width of the Screen
@param ScreenHeight - The Height of the Screen

MadeTopMenu Source code

function MadeTopMenu ( ) )
Called when this menu is the topmost menu (ie, when opened or when one of top was closed)

MobileMenuCommand Source code

function bool MobileMenuCommand ( string Command) )
Allows menus to handle exec commands
@Param Command - The command to handle
@returns true if handled

OnSceneTouch Source code

event bool OnSceneTouch ( EZoneTouchEvent EventType, float TouchX, float TouchY) )
Allows the scene to manage touches that aren't sent to any given control

OnTouch Source code

event OnTouch ( MobileMenuObject Sender,float TouchX, float TouchY, bool bCancel) )
This event is called when a "touch is detected on an object.
@param Sender - The Object that swallowed the touch
@param TouchX - The X location of the touch event
@param TouchY - The Y location of the touch event
@param bCancel- If TRUE, the touch was canceled

Opened Source code

function Opened ( string Mode) )
Opened will be called after the scene is opened and initialized.
@param Mode Optional string to pass to the scene for however it wants to use it

RenderScene Source code

function RenderScene ( Canvas Canvas,float RenderDelta) )
Render the scene
@param Canvas - the canvas object for drawing


Defaultproperties

defaultproperties
{
	AuthoredGlobalScale=2.0
	SceneCaptionFont=Font'EngineFonts.SmallFont'
	Opacity=1.0
	bSceneDoesNotRequireInput=false;
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: ti 22-3-2011 19:56:52.692 - Created with UnCodeX