Show Menu
TOPICS×

Size

Decal size. Width, height, and thickness of a decal material object.

Properties

Three real numbers separated by commas. Must not be negative. Set unused values to 0. Trailing zeros may be omitted.
Specify both width and height only if the image should be stretched to fit the specified size (the aspect ratio may change). Set either width or height to scale the image proportionally. Set both width and height to 0 to use catalog::Resolution to determine the object size.
Provide a thickness value to add a drop shadow to the decal object. Optional for decal materials, ignored by all other materials.

Default

0,0,0. This indicates that the decal size is to be determined based on catalog::Resolution, and that the object does not have a thickness (thus no drop shadow will be rendered).

Examples

12,3
The decal is forced to 12x3 inches in size and has no thickness (this is, no drop shadow).
0,5,1
The decal is 5 inches wide, the height is determined by the aspect ratio of the image, and a drop shadow is rendered based on a 1 inch thickness.
0,0,.5
The decal width and height is determined by catalog::Resolution, and that it is ½ inch thick.