Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Paradox.Effects.PickingPlugin Class Reference
Inheritance diagram for SiliconStudio.Paradox.Effects.PickingPlugin:
RenderPassPlugin

Classes

class  Result
 

Public Member Functions

override void Load ()
 
override void Unload ()
 
async Task< ResultPick (Vector2 location)
 

Static Public Attributes

static PropertyKey< EntityAssociatedEntity = new PropertyKey<Entity>("AssociatedEntity", typeof(PickingPlugin))
 
static readonly ParameterKey
< Vector2
PickingScreenPosition = ParameterKeys.Value(Vector2.Zero)
 
static readonly ParameterKey< int > PickingFrameIndex = ParameterKeys.Value(0)
 
static readonly ParameterKey< int > PickingMeshIndex = ParameterKeys.Value(0)
 
static readonly ParameterKey
< Matrix
PickingMatrix = ParameterKeys.Value(Matrix.Identity)
 

Properties

MainPlugin MainPlugin [get, set]
 Gets or sets the main plugin this instance is attached to. More...
 
int PickingDistance [get, set]
 

Detailed Description

Definition at line 16 of file PickingPlugin.cs.

Member Function Documentation

override void SiliconStudio.Paradox.Effects.PickingPlugin.Load ( )

Definition at line 41 of file PickingPlugin.cs.

References SiliconStudio.Core.Mathematics.Matrix.Scaling().

async Task<Result> SiliconStudio.Paradox.Effects.PickingPlugin.Pick ( Vector2  location)

Definition at line 247 of file PickingPlugin.cs.

override void SiliconStudio.Paradox.Effects.PickingPlugin.Unload ( )

Definition at line 165 of file PickingPlugin.cs.

Member Data Documentation

PropertyKey<Entity> SiliconStudio.Paradox.Effects.PickingPlugin.AssociatedEntity = new PropertyKey<Entity>("AssociatedEntity", typeof(PickingPlugin))
static

Definition at line 20 of file PickingPlugin.cs.

readonly ParameterKey<int> SiliconStudio.Paradox.Effects.PickingPlugin.PickingFrameIndex = ParameterKeys.Value(0)
static

Definition at line 23 of file PickingPlugin.cs.

readonly ParameterKey<Matrix> SiliconStudio.Paradox.Effects.PickingPlugin.PickingMatrix = ParameterKeys.Value(Matrix.Identity)
static

Definition at line 25 of file PickingPlugin.cs.

readonly ParameterKey<int> SiliconStudio.Paradox.Effects.PickingPlugin.PickingMeshIndex = ParameterKeys.Value(0)
static

Definition at line 24 of file PickingPlugin.cs.

readonly ParameterKey<Vector2> SiliconStudio.Paradox.Effects.PickingPlugin.PickingScreenPosition = ParameterKeys.Value(Vector2.Zero)
static

Definition at line 22 of file PickingPlugin.cs.

Property Documentation

MainPlugin SiliconStudio.Paradox.Effects.PickingPlugin.MainPlugin
getset

Gets or sets the main plugin this instance is attached to.

The main plugin.

Definition at line 37 of file PickingPlugin.cs.

int SiliconStudio.Paradox.Effects.PickingPlugin.PickingDistance
getset

Definition at line 39 of file PickingPlugin.cs.


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