Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
ScriptTest2.CameraScript Class Reference
Inheritance diagram for ScriptTest2.CameraScript:
SiliconStudio.Paradox.ScriptContext SiliconStudio.Core.ComponentBase SiliconStudio.Paradox.IScriptContext SiliconStudio.Core.IComponent SiliconStudio.Core.ICollectorHolder SiliconStudio.Core.IReferencable SiliconStudio.Paradox.Games.IVirtualResolution SiliconStudio.Core.IReferencable

Classes

class  Config
 

Public Member Functions

 CameraScript (IServiceRegistry registry)
 
async Task AutoswitchCamera (EngineContext engineContext)
 
override async Task Execute ()
 
- Public Member Functions inherited from SiliconStudio.Core.ComponentBase
void Dispose ()
 
override string ToString ()
 

Public Attributes

CameraComponent TrackingCamera
 
- Public Attributes inherited from SiliconStudio.Core.ComponentBase
PropertyContainer Tags
 Gets the attached properties to this component. More...
 

Properties

float Speed [get, set]
 
float MoveSpeed [get, set]
 
Camera Camera [get, set]
 
- Properties inherited from SiliconStudio.Paradox.ScriptContext
AudioSystem Audio [get, set]
 
IServiceRegistry Services [get, set]
 
object Parameter [get, set]
 
IGame Game [get, set]
 
AssetManager Asset [get, set]
 
GraphicsDevice GraphicsDevice [get]
 
UISystem UI [get, set]
 
InputManager Input [get, set]
 
EntitySystem Entities [get, set]
 
ScriptSystem Script [get, set]
 
RenderSystem RenderSystem [get, set]
 
EffectSystem EffectSystem [get, set]
 
Vector3 VirtualResolution [get, set]
 
EventHandler< EventArgsVirtualResolutionChanged
 
- Properties inherited from SiliconStudio.Core.ComponentBase
long Id [get, set]
 
string Name [get, set]
 Gets or sets the name of this component. More...
 
bool IsDisposed [get, set]
 Has the component been disposed or not yet. More...
 
- Properties inherited from SiliconStudio.Core.IComponent
long Id [get]
 Gets the id of this component. More...
 
string Name [get]
 Gets the name of this component. More...
 
- Properties inherited from SiliconStudio.Core.IReferencable
int ReferenceCount [get]
 Gets the reference count of this instance. More...
 
- Properties inherited from SiliconStudio.Core.ICollectorHolder
ObjectCollector Collector [get]
 Gets the collector. More...
 
- Properties inherited from SiliconStudio.Paradox.IScriptContext
IServiceRegistry Services [get]
 
object Parameter [get, set]
 
IGame Game [get]
 
AssetManager Asset [get]
 
GraphicsDevice GraphicsDevice [get]
 
InputManager Input [get]
 
EntitySystem Entities [get]
 
ScriptSystem Script [get]
 
RenderSystem RenderSystem [get]
 
EffectSystem EffectSystem [get]
 
AudioSystem Audio [get]
 
UISystem UI [get]
 
- Properties inherited from SiliconStudio.Paradox.Games.IVirtualResolution
Vector3 VirtualResolution [get, set]
 Gets or sets the screen virtual resolution to use for this game. More...
 

Additional Inherited Members

- Protected Member Functions inherited from SiliconStudio.Paradox.ScriptContext
 ScriptContext (IServiceRegistry registry)
 
override void Destroy ()
 Disposes of object resources. More...
 
- Protected Member Functions inherited from SiliconStudio.Core.ComponentBase
 ComponentBase ()
 Initializes a new instance of the ComponentBase class. More...
 
 ComponentBase (string name)
 Initializes a new instance of the ComponentBase class. More...
 
virtual void OnNameChanged ()
 Called when Name property was changed. More...
 
- Events inherited from SiliconStudio.Paradox.Games.IVirtualResolution
EventHandler< EventArgsVirtualResolutionChanged
 Occurs when the virtual resolution changed. More...
 

Detailed Description

Definition at line 28 of file CameraScript.cs.

Constructor & Destructor Documentation

ScriptTest2.CameraScript.CameraScript ( IServiceRegistry  registry)

Member Function Documentation

async Task ScriptTest2.CameraScript.AutoswitchCamera ( EngineContext  engineContext)

Definition at line 73 of file CameraScript.cs.

References ScriptTest2.CameraScript.TrackingCamera.

Referenced by ScriptTest2.CameraScript.Execute().

Member Data Documentation

CameraComponent ScriptTest2.CameraScript.TrackingCamera

Property Documentation

Camera ScriptTest2.CameraScript.Camera
getset

Definition at line 103 of file CameraScript.cs.

Referenced by ScriptTest2.CameraScript.Execute().

float ScriptTest2.CameraScript.MoveSpeed
getset
float ScriptTest2.CameraScript.Speed
getset

The documentation for this class was generated from the following file: