Describes a box. The center position and orientation are determined by the containing Entity
alias BoxGraphics
- The options object takes the following properties
- {Property} [options.dimensions] A Cartesian3 Property specifying the length, width, and height of the box.
- {Property} [options.show=true] A boolean Property specifying the visibility of the box.
- {Property} [options.fill=true] A boolean Property specifying whether the box is filled with the provided material.
- {MaterialProperty} [options.material=Color.WHITE] A Property specifying the material used to fill the box.
- {Property} [options.outline=false] A boolean Property specifying whether the box 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.
Describes a box. The center position and orientation are determined by the containing Entity
alias BoxGraphics
- The options object takes the following properties - {Property} [options.dimensions] A Cartesian3 Property specifying the length, width, and height of the box. - {Property} [options.show=true] A boolean Property specifying the visibility of the box. - {Property} [options.fill=true] A boolean Property specifying whether the box is filled with the provided material. - {MaterialProperty} [options.material=Color.WHITE] A Property specifying the material used to fill the box. - {Property} [options.outline=false] A boolean Property specifying whether the box 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.
demo Sandcastle Box Demo