View Area


The View Area primitive component extracts the area information from an active view. It reflects the height and width values of the MGUI or G panel to which it is connected through its view input. It is particularly useful for making user interface elements which adjust to the size of the view window in which they are displayed.

Inputs

A view input is its only input.

Outputs

An area output is its only output.

Example

View Area Example

View Size


The View Size component extracts the width and height values from a view but as two floats instead of as an area. Since these values are available from the MGUI its primary use is to extract this information when working in a level removed from the MGUI or using wireless view connectors and G panels.

Inputs

A view input is its only input.

Outputs

  • View Width - a float value with the width of the view area in grid units.
  • View Height- a float value with the height of the view area in grid units.
component_reference/view_area/view_area.txt · Last modified: 2008/05/20 23:10 (external edit)