Struct TransformResult
Holds the result of a Transform from or too Window Position
Namespace: Yak2D
Assembly: Yak2D.Api.dll
Syntax
public struct TransformResult
Properties
Contained
Is Point Contained within area. When converting from a Window Position, True if the is point visible by the camera within the viewport. When converting to a window position, True if the point within the window bounds (does not consider if the point is visible within source the camera/viewport)
Declaration
public bool Contained { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Position
The Transformed Position
Declaration
public Vector2 Position { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector2 |