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

GFxUI.GFxObject

Extends
Object
Modifiers
within GFxMoviePlayer dependsOn ( GFxMoviePlayer ) native

Filename : GFxObject.uc Content : Unreal Scaleform GFx integration Copyright : (c) 2006-2007 Scaleform Corp. All Rights Reserved. Portions of the integration code is from Epic Games as identified by Perforce annotations. Copyright 2010 Epic Games, Inc. All rights reserved. Notes : Licensees may use this file in accordance with the valid Scaleform Commercial License Agreement provided with the software. This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR ANY PURPOSE. GFxObject is GFxValue in Scaleform code

Core.Object
|   
+-- GFxUI.GFxObject

Direct Known Subclasses:

GFxClikWidget, GFxMinimap, GFxUIView

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
array<GFxWidgetBinding>SubWidgetBindings
intValue[12]
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
ASColorTransform
multiply, add
ASDisplayInfo
X, Y, Z, Rotation, XRotation, YRotation, XScale, YScale, ZScale, Alpha, Visible, hasX, hasY, hasZ, hasRotation, hasXRotation, hasYRotation, hasXScale, hasYScale, hasZScale, hasAlpha, hasVisible
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
functionarray<GFxObjectActionScriptArray (string path)
functionfloat ActionScriptFloat (string method)
functionint ActionScriptInt (string method)
functionGFxObject ActionScriptObject (string path)
function ActionScriptSetFunction (string Member)
function ActionScriptSetFunctionOn (GFxObject target, string Member)
functionstring ActionScriptString (string method)
function ActionScriptVoid (string method)
functionGFxObject AttachMovie (string symbolname, string instancename, optional int depth = -1, optional class type = class'GFxObject')
functionGFxObject CreateEmptyMovieClip (string instancename, optional int depth = -1, optional class type = class'GFxObject')
functionASValue Get (string Member)
functionbool GetBool (string Member)
functionASColorTransform GetColorTransform ()
functionASDisplayInfo GetDisplayInfo ()
functionMatrix GetDisplayMatrix ()
functionASValue GetElement (int index)
functionbool GetElementBool (int index)
functionASDisplayInfo GetElementDisplayInfo (int index)
functionMatrix GetElementDisplayMatrix (int index)
functionfloat GetElementFloat (int index)
functionASValue GetElementMember (int index, string Member)
functionbool GetElementMemberBool (int index, string Member)
functionfloat GetElementMemberFloat (int index, string Member)
functionGFxObject GetElementMemberObject (int index, string Member, optional class type = class'GFxObject')
functionstring GetElementMemberString (int index, string Member)
functionGFxObject GetElementObject (int index, optional class type = class'GFxObject')
functionstring GetElementString (int index)
functionfloat GetFloat (string Member)
functionGFxObject GetObject (string Member, optional class type = class'GFxObject')
functionbool GetPosition (out float x, out float y)
functionstring GetString (string Member)
functionstring GetText ()
function GotoAndPlay (string frame)
function GotoAndPlayI (int frame)
function GotoAndStop (string frame)
function GotoAndStopI (int frame)
functionASValue Invoke (string Member, array<ASValue> args)
function Set (string Member, ASValue Arg)
function SetBool (string Member, bool b)
function SetColorTransform (ASColorTransform cxform)
function SetDisplayInfo (ASDisplayInfo d)
function SetDisplayMatrix (Matrix m)
function SetDisplayMatrix3D (Matrix m)
function SetElement (int index, ASValue Arg)
function SetElementBool (int index, bool b)
function SetElementColorTransform (int index, ASColorTransform cxform)
function SetElementDisplayInfo (int index, ASDisplayInfo d)
function SetElementDisplayMatrix (int index, Matrix m)
function SetElementFloat (int index, float f)
function SetElementMember (int index, string Member, ASValue arg)
function SetElementMemberBool (int index, string Member, bool b)
function SetElementMemberFloat (int index, string Member, float f)
function SetElementMemberObject (int index, string Member, GFxObject val)
function SetElementMemberString (int index, string Member, string s)
function SetElementObject (int index, GFxObject val)
function SetElementPosition (int index, float x, float y)
function SetElementString (int index, string s)
function SetElementVisible (int index, bool visible)
function SetFloat (string Member, float f)
function SetFunction (string Member, Object context, name fname)
function SetObject (string Member, GFxObject val)
function SetPosition (float x, float y)
function SetString (string Member, string s, optional TranslationContext InContext)
function SetText (coerce string text, optional TranslationContext InContext)
function SetVisible (bool visible)
functionString TranslateString (String StringToTranslate, optional TranslationContext InContext)
eventbool WidgetInitialized (name WidgetName, name WidgetPath, GFxObject Widget)
eventbool WidgetUnloaded (name WidgetName, name WidgetPath, GFxObject Widget)
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

SubWidgetBindings Source code

var array<GFxWidgetBinding> SubWidgetBindings;
Array of WidgetBindings for widgets that are forwarded to this widget for their WidgetInitialized() callback. See GFxMoviePlayer's WidgetBindings for details

Value[12] Source code

var const private native int Value[12];
Stores reference information for the GFx-side GFxValue that this GFxObject refers to


Structures Detail

ASColorTransform Source code

struct ASColorTransform
{
var(GFxObject) LinearColor add;
var(GFxObject) LinearColor multiply;
};
Struct for storing color transformation information for manipulation using the Complex Object Interface

ASDisplayInfo Source code

struct ASDisplayInfo
{
var(GFxObject) float Alpha;
var(GFxObject) bool hasAlpha;
var(GFxObject) bool hasRotation;
var(GFxObject) bool hasVisible;
var(GFxObject) bool hasX;
var(GFxObject) bool hasXRotation;
var(GFxObject) bool hasXScale;
var(GFxObject) bool hasY;
var(GFxObject) bool hasYRotation;
var(GFxObject) bool hasYScale;
var(GFxObject) bool hasZ;
var(GFxObject) bool hasZScale;
var(GFxObject) float Rotation;
var(GFxObject) bool Visible;
var(GFxObject) float X;
var(GFxObject) float XRotation;
var(GFxObject) float XScale;
var(GFxObject) float Y;
var(GFxObject) float YRotation;
var(GFxObject) float YScale;
var(GFxObject) float Z;
var(GFxObject) float ZScale;
};
Struct for storing properties of display objects for easy and quick manipulation at runtime using the Complex Object Interface


Functions Detail

ActionScriptArray Source code

native noexport final function array<GFxObject> ActionScriptArray ( string path )

ActionScriptFloat Source code

native noexport final function float ActionScriptFloat ( string method )

ActionScriptInt Source code

native noexport final function int ActionScriptInt ( string method )

ActionScriptObject Source code

native noexport final function GFxObject ActionScriptObject ( string path )

ActionScriptSetFunction Source code

protected native noexport final function ActionScriptSetFunction ( string Member )
Function property setters Use these functions to set function properties in ActionScript to UnrealScript delegates, using the delegate from the calling UnrealScript function. This is a useful method for getting callbacks from ActionScript into UnrealScript. Examples: // Sets a ActionScript function property "onClick" to call back to the delegate specified in f function SetOnClick(delegate f) { ActionScriptSetFunction("onClick"); } // Sets OtherObject's "onClick" function object to the delegate specified in f function SetOnEvent(GFxObject OtherObject, delegate f) { ActionScriptSetFunctionOn(OtherObject, "onClick"); }

ActionScriptSetFunctionOn Source code

protected native noexport final function ActionScriptSetFunctionOn ( GFxObject target, string Member )

ActionScriptString Source code

native noexport final function string ActionScriptString ( string method )

ActionScriptVoid Source code

native noexport final function ActionScriptVoid ( string method )
ActionScript function call wrappers These functions, when called from within a UnrealScript function, invoke an ActionScript function with the specified method name, with the parameters of the wrapping UnrealScript function. This is the preferred method for calling ActionScript functions from UnrealScript, as it is faster than Invoke, with less overhead. Example: To call the following ActionScript function from UnrealScript - function MyActionScriptFunction(Param1:String, Param2:Number, Param3:Object):Void; Use the following UnrealScript code - function CallMyActionScriptFunction(string Param1, float Param2, GFxObject Param3) { ActionScriptVoid("MyActionScriptFunction"); }

AttachMovie Source code

native final function GFxObject AttachMovie ( string symbolname, string instancename, optional int depth = -1, optional class<GFxObject> type = class'GFxObject' )
Attaches a symbol to specified movie instance. If no instance is found in this object's scope with the InstanceName, a new instance is created and returned

CreateEmptyMovieClip Source code

native final function GFxObject CreateEmptyMovieClip ( string instancename, optional int depth = -1, optional class<GFxObject> type = class'GFxObject' )
Creates an empty MovieClip in the movie. This can then be manipulated like any other MovieClip using the above functions

Get Source code

native final function ASValue Get ( string Member )
Accessors for ActionScript / GFx Objects If you know the type of the variable or object you're accessing, it is best to use one of the type specific accessor functions, as they are significantly faster. Avoid using the slower ASValue functions if possible.

GetBool Source code

native final function bool GetBool ( string Member )

GetColorTransform Source code

native final function ASColorTransform GetColorTransform ( )

GetDisplayInfo Source code

native final function ASDisplayInfo GetDisplayInfo ( )
Complex Object Interface functions These functions are the preferred way modify the parameters of display objects (i.e. widgets). When possible, use these functions to view and change the display parameters of widgets over setting the parameters individually via Set() functions

GetDisplayMatrix Source code

native final function Matrix GetDisplayMatrix ( )

GetElement Source code

native final function ASValue GetElement ( int index )
Array accessor functions As with the normal member accessor functions, it is always preferable to use the accessor for the specific type, rather than the generic GetElement() / SetElement() functions.

GetElementBool Source code

native final function bool GetElementBool ( int index )

GetElementDisplayInfo Source code

native final function ASDisplayInfo GetElementDisplayInfo ( int index )
Array accessors for display objects

GetElementDisplayMatrix Source code

native final function Matrix GetElementDisplayMatrix ( int index )

GetElementFloat Source code

native final function float GetElementFloat ( int index )

GetElementMember Source code

native final function ASValue GetElementMember ( int index, string Member )
Array accessors for general element types

GetElementMemberBool Source code

native final function bool GetElementMemberBool ( int index, string Member )

GetElementMemberFloat Source code

native final function float GetElementMemberFloat ( int index, string Member )

GetElementMemberObject Source code

native final function GFxObject GetElementMemberObject ( int index, string Member, optional class<GFxObject> type = class'GFxObject' )

GetElementMemberString Source code

native final function string GetElementMemberString ( int index, string Member )

GetElementObject Source code

native final function GFxObject GetElementObject ( int index, optional class<GFxObject> type = class'GFxObject' )

GetElementString Source code

native final function string GetElementString ( int index )

GetFloat Source code

native final function float GetFloat ( string Member )

GetObject Source code

native final function GFxObject GetObject ( string Member, optional class<GFxObject> type = class'GFxObject' )
Returns a GFxObject for the specified member. If the type parameter is specified, the returned object will be of the specified class. Note the return value is not coerced though, so if you specify a type, you must manually cast the result

GetPosition Source code

native final function bool GetPosition ( out float x, out float y )

GetString Source code

native final function string GetString ( string Member )

GetText Source code

native final function string GetText ( )
Text field accessor functions

GotoAndPlay Source code

native final function GotoAndPlay ( string frame )
Movie flow control functions These functions are used for controlling movie playback and skipping around on the timeline. The string functions take a (case-sensitive) frame label to jump to, while the integer functions jump to a frame number. If the label or frame isn't found, a warning will be sent to the DevGFxUI logging channel, but the movie can still potentially jump frames (usually to the end of the timeline for the object)

GotoAndPlayI Source code

native final function GotoAndPlayI ( int frame )

GotoAndStop Source code

native final function GotoAndStop ( string frame )

GotoAndStopI Source code

native final function GotoAndStopI ( int frame )

Invoke Source code

native final function ASValue Invoke ( string Member, array<ASValue> args )
Calls an ActionScript function on this GFxObject, with the values from the args array as its parameters. This is slower than creating a wrapper function to call the ActionScript method using one of the ActionScript*() methods below, but does not require a subclass of GFxObject to implement. Use this for one-off functions, or functions with variable length arguments

Set Source code

native final function Set ( string Member, ASValue Arg )

SetBool Source code

native final function SetBool ( string Member, bool b )

SetColorTransform Source code

native final function SetColorTransform ( ASColorTransform cxform )

SetDisplayInfo Source code

native final function SetDisplayInfo ( ASDisplayInfo d )

SetDisplayMatrix Source code

native noexport final function SetDisplayMatrix ( Matrix m )

SetDisplayMatrix3D Source code

native noexport final function SetDisplayMatrix3D ( Matrix m )

SetElement Source code

native final function SetElement ( int index, ASValue Arg )

SetElementBool Source code

native final function SetElementBool ( int index, bool b )

SetElementColorTransform Source code

native final function SetElementColorTransform ( int index, ASColorTransform cxform )

SetElementDisplayInfo Source code

native final function SetElementDisplayInfo ( int index, ASDisplayInfo d )

SetElementDisplayMatrix Source code

native noexport final function SetElementDisplayMatrix ( int index, Matrix m )

SetElementFloat Source code

native final function SetElementFloat ( int index, float f )

SetElementMember Source code

native final function SetElementMember ( int index, string Member, ASValue arg )

SetElementMemberBool Source code

native final function SetElementMemberBool ( int index, string Member, bool b )

SetElementMemberFloat Source code

native final function SetElementMemberFloat ( int index, string Member, float f )

SetElementMemberObject Source code

native final function SetElementMemberObject ( int index, string Member, GFxObject val )

SetElementMemberString Source code

native final function SetElementMemberString ( int index, string Member, string s )

SetElementObject Source code

native final function SetElementObject ( int index, GFxObject val )

SetElementPosition Source code

native final function SetElementPosition ( int index, float x, float y )

SetElementString Source code

native final function SetElementString ( int index, string s )

SetElementVisible Source code

native final function SetElementVisible ( int index, bool visible )

SetFloat Source code

native final function SetFloat ( string Member, float f )

SetFunction Source code

native final function SetFunction ( string Member, Object context, name fname )

SetObject Source code

native final function SetObject ( string Member, GFxObject val )

SetPosition Source code

native final function SetPosition ( float x, float y )

SetString Source code

native final function SetString ( string Member, string s, optional TranslationContext InContext )
Set the field specified by 'member' on this object.
@param Member The member of set object to set; e.g. "text" or "htmlText" or "foo"
@param s Value of the string that is to be assigned to the member
@param InContext The TranslationContext to use when resolving any tags enocuntered in the text.

SetText Source code

native final function SetText ( coerce string text, optional TranslationContext InContext )
Set the text field on this object.
@param text The text to set.
@param InContext The TranslationContext to use when resolving any tags enocuntered in the text.

SetVisible Source code

native final function SetVisible ( bool visible )
Toggles visibility of this object, if it is a display object

TranslateString Source code

native static function String TranslateString ( String StringToTranslate, optional TranslationContext InContext )
Translate a string for handling markup
@param StringToTranslate - The text to set.
@param TranslationContext - The TranslationContext to use when resolving any tags enocountered in the text.

WidgetInitialized Source code

event bool WidgetInitialized ( name WidgetName, name WidgetPath, GFxObject Widget )
Callback when a child widget is initialized within the path bound to this widget via GFxMoviePlayer::SetWidgetPathBinding(). Allows for GFxObject subclasses that encapsulate functionality to handle their own initialization for child widgets, instead of the GFxMoviePlayer. Returns TRUE if the widget was handled, FALSE if not.

WidgetUnloaded Source code

event bool WidgetUnloaded ( name WidgetName, name WidgetPath, GFxObject Widget )
Callback when a child widget with enableInitCallback set to TRUE is unloaded within the path bound to this widget via GFxMoviePlayer::SetWidgetPathBinding(). Returns TRUE if the widget was handled, FALSE if not.



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