Skip to main content

Area

Area Measure is a dimension tool that can calculate the area between some points. There are options to control the orientation of the text that is displayed for the area measurement.

Parameters

Inspector_AreaMeasure


Overview

AreaMeasure_XZ

The "Area Measure" tool consists of four main parts: handles, surface, border, and the number text. When you click on a surface, the handle prefab will instantiate where you clicked. If you press the right-click button, the draw function will be called and the area measure will be created.


Dynamic Transform

IsDynamic_AreaMeasure

The "Area Measure" component supports dynamic transform, which means that it updates the area automatically when you move any of its handles. If you have made the handle prefab selectable or moveable in your project, the area measure will be able to track changes made to the handle positions. It's important to note that there is no "IsDynamic" Boolean in this component. So, as long as you change the position of any handle, the area will be updated automatically.

caution

Area dimensions for dynamic objects are not currently supported. They are only updated when the handle position is changed and will not connect automatically to the target objects.


Drawing an Area Measure on Main or Custom Planes

AreaMeasure_Free_Mode

Similar to the Angle Dimension and Aligned Dimension, the Area Measure can be drawn on the main planes (XZ, XY, ZY) or on a custom plane. To draw on a custom plane, set the "Area Measurement Plane" to "Free" and start drawing the area measure where you need it.

info

If you start drawing the area measure on an inclined plane or a ramp, the script will get the normal of the first hit point and define the custom draw plane based on that. This makes it possible to draw the area measure on any surface or plane, as long as you start the drawing process on a valid point.