Show / Hide Table of Contents

Struct TransformResult

Holds the result of a Transform from or too Window Position

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
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 { readonly get; set; }
Property Value
Type Description
bool

Position

The Transformed Position

Declaration
public Vector2 Position { readonly get; set; }
Property Value
Type Description
Vector2
In this article
Back to top yak2D - Alex Paterson