Click or drag to resize

FullscreenLayer Class

Layer which gets all input from a camera. Should be used instead of a background object getting all the pointers which come through.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          TouchScript.LayersTouchLayer
            TouchScript.LayersFullscreenLayer

Namespace:  TouchScript.Layers
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class FullscreenLayer : TouchLayer

The FullscreenLayer type exposes the following members.

Constructors
  NameDescription
Public methodFullscreenLayer
Initializes a new instance of the FullscreenLayer class
Top
Properties
  NameDescription
Public propertyCamera
Target camera if Camera or MainCamera is used.
Public propertyDelegate
Gets or sets an object implementing ILayerDelegate to be asked for layer specific actions.
(Inherited from TouchLayer.)
Public propertyType
Layer type.
Public propertyWorldProjectionNormal
Layers screen to world projection normal.
(Overrides TouchLayerWorldProjectionNormal.)
Top
Methods
  NameDescription
Protected methodaddPointer
Called when a pointer is added.
(Inherited from TouchLayer.)
Protected methodAwake
Unity Awake callback.
(Overrides TouchLayerAwake.)
Protected methodcancelPointer
Called when a pointer is cancelled.
(Inherited from TouchLayer.)
Protected methodcheckHitFilters
Checks the hit filters.
(Inherited from TouchLayer.)
Protected methodcreateProjectionParams
Creates projection parameters.
(Overrides TouchLayercreateProjectionParams.)
Public methodGetProjectionParams
Gets the projection parameters of this layer which might depend on a specific pointer data.
(Inherited from TouchLayer.)
Public methodHit
Checks if a point in screen coordinates hits something in this layer.
(Overrides TouchLayerHit(IPointer, HitData).)
Protected methodOnDestroy
Unity OnDestroy callback.
(Inherited from TouchLayer.)
Protected methodpressPointer
Called when a layer is pressed over an object detected by this layer.
(Inherited from TouchLayer.)
Protected methodreleasePointer
Called when a pointer is released.
(Inherited from TouchLayer.)
Protected methodremovePointer
Called when a pointer is removed.
(Inherited from TouchLayer.)
Protected methodsetName
Updates pointer layers's name.
(Overrides TouchLayersetName.)
Protected methodupdatePointer
Called when a pointer is moved.
(Inherited from TouchLayer.)
Top
Events
  NameDescription
Public eventPointerBegan
Occurs when layer determines that a pointer has hit something.
(Inherited from TouchLayer.)
Top
Fields
  NameDescription
Protected fieldlayerProjectionParams
The layer projection parameters.
(Inherited from TouchLayer.)
Protected fieldmanager
Layer manager.
(Inherited from TouchLayer.)
Public fieldName
Pointer layer's name.
(Inherited from TouchLayer.)
Top
See Also