Describes a cylinder, truncated cone, or cone defined by a length, top radius, and bottom radius.
The center position and orientation are determined by the containing Entity
alias CylinderGraphics
- The options object takes the following properties
- {Property} [options.length] A numeric Property specifying the length of the cylinder.
- {Property} [options.topRadius] A numeric Property specifying the radius of the top of the cylinder.
- {Property} [options.bottomRadius] A numeric Property specifying the radius of the bottom of the cylinder.
- {Property} [options.show=true] A boolean Property specifying the visibility of the cylinder.
- {Property} [options.fill=true] A boolean Property specifying whether the cylinder is filled with the provided material.
- {MaterialProperty} [options.material=Color.WHITE] A Property specifying the material used to fill the cylinder.
- {Property} [options.outline=false] A boolean Property specifying whether the cylinder is outlined.
- {Property} [options.outlineColor=Color.BLACK] A Property specifying the Color of the outline.
- {Property} [options.outlineWidth=1.0] A numeric Property specifying the width of the outline.
- {Property} [options.numberOfVerticalLines=16] A numeric Property specifying the number of vertical lines to draw along the perimeter for the outline.
- {Property} [options.slices=128] The number of edges around perimeter of the cylinder.
Describes a cylinder, truncated cone, or cone defined by a length, top radius, and bottom radius. The center position and orientation are determined by the containing Entity
alias CylinderGraphics
- The options object takes the following properties - {Property} [options.length] A numeric Property specifying the length of the cylinder. - {Property} [options.topRadius] A numeric Property specifying the radius of the top of the cylinder. - {Property} [options.bottomRadius] A numeric Property specifying the radius of the bottom of the cylinder. - {Property} [options.show=true] A boolean Property specifying the visibility of the cylinder. - {Property} [options.fill=true] A boolean Property specifying whether the cylinder is filled with the provided material. - {MaterialProperty} [options.material=Color.WHITE] A Property specifying the material used to fill the cylinder. - {Property} [options.outline=false] A boolean Property specifying whether the cylinder is outlined. - {Property} [options.outlineColor=Color.BLACK] A Property specifying the Color of the outline. - {Property} [options.outlineWidth=1.0] A numeric Property specifying the width of the outline. - {Property} [options.numberOfVerticalLines=16] A numeric Property specifying the number of vertical lines to draw along the perimeter for the outline. - {Property} [options.slices=128] The number of edges around perimeter of the cylinder.