Click or drag to resize

WorldSpaceCanvasProjectionParamsProjectFrom Method

Projects a world point onto layer.

Namespace:  TouchScript.Layers
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public override Vector2 ProjectFrom(
	Vector3 worldPosition
)

Parameters

worldPosition
Type: Vector3
World position.

Return Value

Type: Vector2
2D point on layer.
See Also