QuadUI 1.2.9 public beta
Run-time API for QuadUI

FluidElement2D Class Reference

List of all members.

Public Attributes

Vector2 normalizedScreenPosition = new Vector2(0,0)

Protected Member Functions

virtual void OnResolutionChange ()

Detailed Description

Attach this to any Element2D or ComplexComponent2D and whenever the OnResolutionChange message is received it will automatically reposition it based on the normalized (0 to 1) screen position you provide.


Member Function Documentation

virtual void FluidElement2D.OnResolutionChange ( ) [protected, virtual]

Message received when QuadUI detects that the resolution has been changed.


Member Data Documentation

Vector2 FluidElement2D.normalizedScreenPosition = new Vector2(0,0)

Position in a 0 to 1 space where 0,0 is top-left and 1,1 is bottom-right

 All Classes Functions Variables Enumerations Properties