C# Class GFx.Movie

Inheritance: System.Object
Exibir arquivo Open project: noahfreedman/Stereoscopic_Scatterplot

Public Properties

Property Type Description
AdvanceWhenGamePaused bool
IsAutoManageViewport bool
IsFocused bool
MarkForRelease Boolean
MovieID long
MovieName String
SFMgr SFManager
TheScaleModeType ScaleModeType
mRenderTexture SFRTT
pDataUnmanaged IntPtr

Public Methods

Method Description
AcceptCharEvents ( ) : bool
AcceptKeyEvents ( ) : bool
AcceptMouseEvents ( ) : bool
AcceptTouchEvents ( ) : bool
Advance ( float deltaTime ) : void
CreateArray ( String typeName ) : Value
CreateObject ( String className ) : Value
CreateValue ( Boolean t ) : Value
CreateValue ( Double t ) : Value
CreateValue ( Int32 t ) : Value
CreateValue ( String t ) : Value
CreateValue ( UInt32 t ) : Value
CreateValue ( object o ) : Value
DoHitTest ( float x, float y, HitTestType hitTestType ) : bool
GetID ( ) : long
GetRTT ( ) : SFRTT
HandleCharEvent ( UInt32 wchar ) : bool
HandleKeyEvent ( SFKey cd, SFKeyModifiers mod, UInt32 down, int keyboardIndex ) : bool
HandleMouseEvent ( float x, float y, int icase, int buttonType ) : bool
HandleTouchEvent ( int fingerId, float x, float y, int icase ) : bool
Invoke ( String methodName ) : Value
IsRTTMovie ( ) : bool
Movie ( )
Movie ( SFManager sfmgr, SFMovieCreationParams creationParams )
OnSFManagerDied ( ) : void
Serialize ( ) : IntPtr
SetBackgroundAlpha ( float alpha ) : void
SetFocus ( bool focus ) : void
SetID ( long id ) : void
SetRTT ( SFRTT rtt ) : void
SetViewport ( int ox, int oy, int width, int height ) : void
Update ( ) : void

Private Methods

Method Description
SF_Advance ( long movieID, float deltaTime, bool advanceWhilePaused = false ) : int
SF_CreateArray ( long movieId, [ pvalManaged ) : bool
SF_CreateMovie ( IntPtr param ) : int
SF_CreateObject ( long movieId, [ pvalManaged, String className, int numValues, IntPtr mvalArray ) : bool
SF_DoHitTest ( long movieID, float x, float y, int hitTestType ) : bool
SF_GetFrameRate ( int MovieID ) : float
SF_HandleCharEvent ( long movieID, UInt32 wchar ) : bool
SF_HandleKeyEvent ( long movieID, SFKey cd, SFKeyModifiers mod, UInt32 down, int keyboardIndex ) : bool
SF_HandleMouseEvent ( long movieID, float x, float y, int icase, int buttonType ) : bool
SF_HandleTouchEvent ( long movieID, int fid, float x, float y, int icase ) : bool
SF_Invoke3 ( long movieID, String methodName, int numVal, IntPtr iptr, [ retVal ) : bool
SF_SetBackgroundAlpha ( long movieID, float bgAlpha ) : bool
SF_SetFocus ( long movieID, bool focus ) : void

Method Details

AcceptCharEvents() public method

public AcceptCharEvents ( ) : bool
return bool

AcceptKeyEvents() public method

public AcceptKeyEvents ( ) : bool
return bool

AcceptMouseEvents() public method

public AcceptMouseEvents ( ) : bool
return bool

AcceptTouchEvents() public method

public AcceptTouchEvents ( ) : bool
return bool

Advance() public method

public Advance ( float deltaTime ) : void
deltaTime float
return void

CreateArray() public method

public CreateArray ( String typeName ) : Value
typeName String
return Value

CreateObject() public method

public CreateObject ( String className ) : Value
className String
return Value

CreateValue() public method

public CreateValue ( Boolean t ) : Value
t Boolean
return Value

CreateValue() public method

public CreateValue ( Double t ) : Value
t Double
return Value

CreateValue() public method

public CreateValue ( Int32 t ) : Value
t Int32
return Value

CreateValue() public method

public CreateValue ( String t ) : Value
t String
return Value

CreateValue() public method

public CreateValue ( UInt32 t ) : Value
t UInt32
return Value

CreateValue() public method

public CreateValue ( object o ) : Value
o object
return Value

DoHitTest() public method

public DoHitTest ( float x, float y, HitTestType hitTestType ) : bool
x float
y float
hitTestType HitTestType
return bool

GetID() public method

public GetID ( ) : long
return long

GetRTT() public method

public GetRTT ( ) : SFRTT
return SFRTT

HandleCharEvent() public method

public HandleCharEvent ( UInt32 wchar ) : bool
wchar UInt32
return bool

HandleKeyEvent() public method

public HandleKeyEvent ( SFKey cd, SFKeyModifiers mod, UInt32 down, int keyboardIndex ) : bool
cd SFKey
mod SFKeyModifiers
down UInt32
keyboardIndex int
return bool

HandleMouseEvent() public method

public HandleMouseEvent ( float x, float y, int icase, int buttonType ) : bool
x float
y float
icase int
buttonType int
return bool

HandleTouchEvent() public method

public HandleTouchEvent ( int fingerId, float x, float y, int icase ) : bool
fingerId int
x float
y float
icase int
return bool

Invoke() public method

public Invoke ( String methodName ) : Value
methodName String
return Value

IsRTTMovie() public method

public IsRTTMovie ( ) : bool
return bool

Movie() public method

public Movie ( )

Movie() public method

public Movie ( SFManager sfmgr, SFMovieCreationParams creationParams )
sfmgr SFManager
creationParams SFMovieCreationParams

OnSFManagerDied() public method

public OnSFManagerDied ( ) : void
return void

Serialize() public method

public Serialize ( ) : IntPtr
return IntPtr

SetBackgroundAlpha() public method

public SetBackgroundAlpha ( float alpha ) : void
alpha float
return void

SetFocus() public method

public SetFocus ( bool focus ) : void
focus bool
return void

SetID() public method

public SetID ( long id ) : void
id long
return void

SetRTT() public method

public SetRTT ( SFRTT rtt ) : void
rtt SFRTT
return void

SetViewport() public method

public SetViewport ( int ox, int oy, int width, int height ) : void
ox int
oy int
width int
height int
return void

Update() public method

public Update ( ) : void
return void

Property Details

AdvanceWhenGamePaused public_oe property

public bool AdvanceWhenGamePaused
return bool

IsAutoManageViewport public_oe property

public bool IsAutoManageViewport
return bool

IsFocused public_oe property

public bool IsFocused
return bool

MarkForRelease public_oe property

public Boolean MarkForRelease
return Boolean

MovieID public_oe property

public long MovieID
return long

MovieName public_oe property

public String MovieName
return String

SFMgr public_oe property

public SFManager SFMgr
return SFManager

TheScaleModeType public_oe property

public ScaleModeType TheScaleModeType
return ScaleModeType

mRenderTexture public_oe property

public SFRTT mRenderTexture
return SFRTT

pDataUnmanaged public_oe property

public IntPtr pDataUnmanaged
return IntPtr