StandardLayer Class |
Namespace: TouchScript.Layers
public class StandardLayer : TouchLayer
The StandardLayer type exposes the following members.
| Name | Description | |
|---|---|---|
| StandardLayer | Initializes a new instance of the StandardLayer class |
| Name | Description | |
|---|---|---|
| Delegate |
Gets or sets an object implementing ILayerDelegate to be asked for layer specific actions.
(Inherited from TouchLayer.) | |
| Hit2DObjects |
Indicates that the layer should look for 2D objects in the scene. Set this to false to optimize hit processing.
| |
| Hit3DObjects |
Indicates that the layer should look for 3D objects in the scene. Set this to false to optimize hit processing.
| |
| HitScreenSpaceUI |
Indicates that the layer should look for Screen Space UI objects in the scene. Set this to false to optimize hit processing.
| |
| HitWorldSpaceUI |
Indicates that the layer should look for World UI objects in the scene. Set this to false to optimize hit processing.
| |
| LayerMask |
Gets or sets the layer mask which is used to select layers which should be touchable from this layer.
| |
| UseHitFilters |
Indicates that the layer should query for HitTest components on target objects. Set this to false to optimize hit processing.
| |
| WorldProjectionNormal |
Layers screen to world projection normal.
(Overrides TouchLayerWorldProjectionNormal.) |
| Name | Description | |
|---|---|---|
| addPointer |
Called when a pointer is added.
(Inherited from TouchLayer.) | |
| Awake |
Unity Awake callback.
(Overrides TouchLayerAwake.) | |
| cancelPointer |
Called when a pointer is cancelled.
(Inherited from TouchLayer.) | |
| checkHitFilters |
Checks the hit filters.
(Inherited from TouchLayer.) | |
| createProjectionParams |
Creates projection parameters.
(Overrides TouchLayercreateProjectionParams.) | |
| GetProjectionParams |
Gets the projection parameters of this layer which might depend on a specific pointer data.
(Overrides TouchLayerGetProjectionParams(Pointer).) | |
| Hit |
Checks if a point in screen coordinates hits something in this layer.
(Overrides TouchLayerHit(IPointer, HitData).) | |
| OnDestroy |
Unity OnDestroy callback.
(Inherited from TouchLayer.) | |
| pressPointer |
Called when a layer is pressed over an object detected by this layer.
(Inherited from TouchLayer.) | |
| releasePointer |
Called when a pointer is released.
(Inherited from TouchLayer.) | |
| removePointer |
Called when a pointer is removed.
(Inherited from TouchLayer.) | |
| setName |
Updates pointer layers's name.
(Overrides TouchLayersetName.) | |
| updateCamera |
Finds a camera.
| |
| updatePointer |
Called when a pointer is moved.
(Inherited from TouchLayer.) |
| Name | Description | |
|---|---|---|
| PointerBegan |
Occurs when layer determines that a pointer has hit something.
(Inherited from TouchLayer.) |
| Name | Description | |
|---|---|---|
| _camera |
Camera.
| |
| layerProjectionParams |
The layer projection parameters.
(Inherited from TouchLayer.) | |
| manager |
Layer manager.
(Inherited from TouchLayer.) | |
| Name |
Pointer layer's name.
(Inherited from TouchLayer.) |