GFxMoviePlayer¶
Class in GFxUI · GFxUI.GFxMoviePlayer · native, config
Object › GFxMoviePlayer
Subclasses: H7FlashMovieCntl
Using it from Lua
Enums¶
ASType
AS_Undefined = 0, AS_Null = 1, AS_Number = 2, AS_Int = 3, AS_String = 4, AS_Boolean = 5
GFxAlign
Align_Center = 0, Align_TopCenter = 1, Align_BottomCenter = 2, Align_CenterLeft = 3, Align_CenterRight = 4, Align_TopLeft = 5, Align_TopRight = 6, Align_BottomLeft = 7, Align_BottomRight = 8
GFxRenderTextureMode
RTM_Opaque = 0, RTM_Alpha = 1, RTM_AlphaComposite = 2
GFxScaleMode
SM_NoScale = 0, SM_ShowAll = 1, SM_ExactFit = 2, SM_NoBorder = 3
GFxTimingMode
TM_Game = 0, TM_Real = 1
Structs¶
ASValue
| Field | Type |
|---|---|
Type | ASType |
b | bool |
n | float |
i | int |
string | init |
Defaults
Type=AS_UndefinedExternalTexture
| Field | Type |
|---|---|
Resource | string |
Texture | Texture |
GFxWidgetBinding
| Field | Type |
|---|---|
WidgetName | name |
WidgetClass | class<GFxObject> |
SoundThemeBinding
| Field | Type |
|---|---|
ThemeName | Name |
Theme | UISoundTheme |
ThemeClassName | string |
Properties¶
| Name | Type | Notes |
|---|---|---|
ASUClasses | Map | const, transient, native, private |
ASUObjects | Map | const, transient, native, private |
bAllowFocus | bool | |
bAllowInput | bool | |
bAutoPlay | bool | |
bBlurLesserMovies | bool | |
bCaptureInput | bool | |
bCaptureMouseInput | bool | |
bCaptureWorldRendering | bool | |
bCloseOnLevelChange | bool | |
bDisableWorldRendering | bool | |
bDiscardNonOwnerInput | bool | |
bDisplayWithHudOff | bool | |
bEnableGammaCorrection | bool | |
bForceFullViewport | bool | |
bHideLesserMovies | bool | |
bIgnoreBlurEffect | bool | |
bIgnoreMouseInput | bool | |
bIgnoreVisibilityEffect | bool | |
bIsPriorityBlurred | bool | |
bIsPriorityHidden | bool | |
bIsSplitscreenLayoutModified | bool | transient |
bLogUnhandedWidgetInitializations | bool | |
bMovieIsOpen | bool | const |
bOnlyOwnerFocusable | bool | |
bPauseGameWhileActive | bool | |
bShowHardwareMouseCursor | bool | |
bWidgetsInitializedThisFrame | bool | const, transient |
CaptureKeys | array | |
ExternalInterface | Object | |
ExternalTextures | array<ExternalTexture> | |
FocusIgnoreKeys | array | |
LocalPlayerOwnerIndex | int | transient |
MovieInfo | SwfMovie | |
NextASUObject | int | const, transient, private |
pCaptureKeys | pointer | const, transient, native |
pFocusIgnoreKeys | pointer | const, transient, native |
pMovie | pointer | const, transient, native |
Priority | byte | private |
RenderTexture | TextureRenderTarget2D | |
RenderTextureMode | GFxRenderTextureMode | |
SoundThemes | array<SoundThemeBinding> | |
SplitscreenLayoutObject | GFxObject | transient |
SplitscreenLayoutYAdjust | int | config |
TimingMode | GFxTimingMode | private |
WidgetBindings | array<GFxWidgetBinding> | |
WidgetPathBindings | map | const, native |
Functions¶
| Name | Declaration |
|---|---|
ActionScriptConstructor | protected final native function GFxObject ActionScriptConstructor(string classname) |
ActionScriptFloat | protected final native function float ActionScriptFloat(string path) |
ActionScriptInt | protected final native function int ActionScriptInt(string path) |
ActionScriptObject | protected final native function GFxObject ActionScriptObject(string path) |
ActionScriptSetFunction | protected final native function ActionScriptSetFunction(GFxObject Object, string Member) |
ActionScriptString | protected final native function string ActionScriptString(string path) |
ActionScriptVoid | protected final native function ActionScriptVoid(string path) |
AddCaptureKey | final native function AddCaptureKey(name key) |
AddFocusIgnoreKey | final native function AddFocusIgnoreKey(name key) |
Advance | final native function Advance(float time) |
ApplyPriorityBlurEffect | function ApplyPriorityBlurEffect(bool bRemoveEffect) |
ApplyPriorityEffect | event ApplyPriorityEffect(bool bRequestedBlurState, bool bRequestedHiddenState) |
ApplyPriorityVisibilityEffect | function ApplyPriorityVisibilityEffect(bool bRemoveEffect) |
ClearCaptureKeys | final native function ClearCaptureKeys() |
ClearFocusIgnoreKeys | final native function ClearFocusIgnoreKeys() |
Close | final native function Close(optional bool Unload = TRUE) |
ConditionalClearPause | final event ConditionalClearPause() |
ConsoleCommand | function ConsoleCommand(string Command) |
CreateArray | native function GFxObject CreateArray() |
CreateObject | native function GFxObject CreateObject(string ASClass, optional class<GFxObject> type, optional array<ASValue> args) |
FilterButtonInput | event bool FilterButtonInput(int ControllerId, name ButtonName, EInputEvent InputEvent) |
FlushPlayerInput | final native function FlushPlayerInput(bool capturekeysonly) |
GetAVMVersion | native function int GetAVMVersion() |
GetGameViewportClient | final native function GameViewportClient GetGameViewportClient() |
GetLP | event LocalPlayer GetLP() |
GetPause | function bool GetPause() (no declaration: types are approximate) |
GetPC | event PlayerController GetPC() |
GetVariable | native function ASValue GetVariable(string path) |
GetVariableArray | native function bool GetVariableArray(string path, int index, out array<ASValue> arg) |
GetVariableBool | native function bool GetVariableBool(string path) |
GetVariableFloatArray | native function bool GetVariableFloatArray(string path, int index, out array |
GetVariableInt | native function int GetVariableInt(string path) |
GetVariableIntArray | native function bool GetVariableIntArray(string path, int index, out array |
GetVariableNumber | native function float GetVariableNumber(string path) |
GetVariableObject | native function GFxObject GetVariableObject(string path, optional class<GFxObject> type) |
GetVariableString | native function string GetVariableString(string path) |
GetVariableStringArray | native function bool GetVariableStringArray(string path, int index, out array |
GetVisibleFrameRect | final native function GetVisibleFrameRect(out float x0, out float y0, out float x1, out float y1) |
Init | function Init(optional LocalPlayer LocPlay) |
Invoke | native function ASValue Invoke(string method, array<ASValue> args) |
OnCleanup | event OnCleanup() |
OnClose | event OnClose() |
OnFocusGained | event OnFocusGained(int LocalPlayerIndex) |
OnFocusLost | event OnFocusLost(int LocalPlayerIndex) |
OnPostAdvance | delegate OnPostAdvance(float DeltaTime) |
PlaySoundFromTheme | function PlaySoundFromTheme(name EventName, optional name SoundThemeName = 'default') |
PostAdvance | native function PostAdvance(float DeltaTime) |
PostWidgetInit | event PostWidgetInit() |
SetAlignment | final native function SetAlignment(GFxAlign a) |
SetExternalInterface | function SetExternalInterface(Object h) |
SetExternalTexture | native function bool SetExternalTexture(string resource, Texture texture) |
SetMovieCanReceiveFocus | final native function SetMovieCanReceiveFocus(bool bCanReceiveFocus) |
SetMovieCanReceiveInput | final native function SetMovieCanReceiveInput(bool bCanReceiveInput) |
SetMovieInfo | function SetMovieInfo(SwfMovie data) |
SetPause | native function SetPause(optional bool bPausePlayback = TRUE) |
SetPerspective3D | final native function SetPerspective3D(const out matrix matPersp) |
SetPriority | native function SetPriority(byte NewPriority) |
SetTimingMode | native function SetTimingMode(GFxTimingMode mode) |
SetVariable | native function SetVariable(string path, ASValue Arg) |
SetVariableArray | native function bool SetVariableArray(string path, int index, array<ASValue> Arg) |
SetVariableBool | native function SetVariableBool(string path, bool b) |
SetVariableFloatArray | native function bool SetVariableFloatArray(string path, int index, array |
SetVariableInt | native function SetVariableInt(string path, int i) |
SetVariableIntArray | native function bool SetVariableIntArray(string path, int index, array |
SetVariableNumber | native function SetVariableNumber(string path, float f) |
SetVariableObject | native function SetVariableObject(string path, GFxObject Object) |
SetVariableString | native function SetVariableString(string path, string s) |
SetVariableStringArray | native function bool SetVariableStringArray(string path, int index, array |
SetView3D | final native function SetView3D(const out matrix matView) |
SetViewport | final native function SetViewport(int x, int y, int width, int height) |
SetViewScaleMode | final native function SetViewScaleMode(GFxScaleMode SM) |
SetWidgetPathBinding | final native function SetWidgetPathBinding(GFxObject WidgetToBind, name Path) |
Start | native event bool Start(optional bool StartPaused = false) |
UpdateSplitscreenLayout | native function UpdateSplitscreenLayout() |
WidgetInitialized | event bool WidgetInitialized(name WidgetName, name WidgetPath, GFxObject Widget) |
WidgetUnloaded | event bool WidgetUnloaded(name WidgetName, name WidgetPath, GFxObject Widget) |
Default values¶
bEnableGammaCorrection=FALSE
bDisplayWithHudOff=TRUE
bLogUnhandedWidgetInitializations=TRUE
bAllowInput=TRUE
bAllowFocus=TRUE
bCloseOnLevelChange=TRUE
Priority=1
Inherited¶
| From | Members |
|---|---|
| Object | 13 properties, 308 functions |