| Transform |
plane1Transform |
A transform that defines the position and orientation of the plane. Transform.up is the plane normal. |
| Transform |
plane2Transform |
A transform that defines the position and orientation of the plane. Transform.up is the plane normal. |
| Color |
color |
The color of the angle display. The planes colored by the static global settings DrawMeasurements.defaultColor1 and DrawMeasurements.defaultColor2. |
| float |
linesWidth |
|
| string |
text |
|
| string |
plane1Name |
|
| string |
plane2Name |
|
| bool |
returnObtuseAngleOver90deg |
The planes always span two vectors: One acute angle below 90° and one obtuse angle between 90° and 180°. Use this bool to specify which one you are interested in. |
| bool |
displayAndReturn_radInsteadOfDeg |
Default is "false", which means: using degrees. |
| float |
coneLength |
The parameter can be interpreted in different ways: It can be meant as absolute length or relative to the radius. The used interpretation is decided by the global setting coneLength_interpretation_forCircledVectors. The default interpretation is "relative to radius". |
| bool |
addTextForAlternativeAngleUnit |
"deg" and "rad" are two different angle units. They can be displayed both or only one of them. See also the "displayAndReturn_radInsteadOfDeg" parameter. |
| float |
durationInSec |
The duration in seconds how long the drawn thing stays visible. The default value of 0 means that it stays only during the current Update frame. Instead of using this parameter you can also overwrite him with a global setting so you don't always have to supply all other preceding function parameters till you reach this late parameter. |
| bool |
hiddenByNearerObjects |
This specifies if the drawn thing will get hidden if other geometry is in front of it or if it shines through. It is the same as the depthTest parameter of Unitys Debug.DrawLine(). Not all drawing methods support toggling this in the same way. For some methods the lines are fully hidden, for others the hidden lines shimmer through. Instead of using this parameter you can also overwrite him with a global setting so you don't always have to supply all other preceding function parameters till you reach this late parameter. |