The Triangle attribute function draws a triangle. When all image edits are complete, the EndModify attribute function must be called to ensure that all changes are saved in the model.
Syntax | |||||
Triangle(Section, X(), Y(), Z()) | |||||
Return value | |||||
Type |
Description | ||||
Section3D |
A Section3D object | ||||
Parameter | |||||
Use |
Name |
Type |
Passing |
Description | |
Required |
Section |
Section3D |
ByVal |
The image section to which the Triangle is to be attached. If the Triangle is to be attached to the root level, “Nothing” must be passed | |
Required |
X() |
Double |
ByVal |
X-Positions (exact 3) | |
Required |
Y() |
Double |
ByVal |
Y-Positions (exact 3) | |
Required |
Z() |
Double |
ByVal |
Z-Positions (exact 3) | |
Note | |||||
Before editing a Model3D variable, the BeginModify attribute function must be called. After all modifications have been made, the attribute function EndModify must be called so that all changes are saved in the variable. | |||||