|
@@ -163,11 +163,11 @@ export namespace Cylinders {
|
|
|
doubleSided: PD.Boolean(false, BaseGeometry.CustomQualityParamInfo),
|
|
|
ignoreLight: PD.Boolean(false, BaseGeometry.ShadingCategory),
|
|
|
xrayShaded: PD.Select<boolean | 'inverted'>(false, [[false, 'Off'], [true, 'On'], ['inverted', 'Inverted']], BaseGeometry.ShadingCategory),
|
|
|
- transparentBackfaces: PD.Select('off', PD.arrayToOptions(['off', 'on', 'opaque']), BaseGeometry.ShadingCategory),
|
|
|
+ transparentBackfaces: PD.Select('off', PD.arrayToOptions(['off', 'on', 'opaque'] as const), BaseGeometry.ShadingCategory),
|
|
|
solidInterior: PD.Boolean(true, BaseGeometry.ShadingCategory),
|
|
|
bumpFrequency: PD.Numeric(0, { min: 0, max: 10, step: 0.1 }, BaseGeometry.ShadingCategory),
|
|
|
bumpAmplitude: PD.Numeric(1, { min: 0, max: 5, step: 0.1 }, BaseGeometry.ShadingCategory),
|
|
|
- colorMode: PD.Select('default', PD.arrayToOptions(['default', 'interpolate']), BaseGeometry.ShadingCategory)
|
|
|
+ colorMode: PD.Select('default', PD.arrayToOptions(['default', 'interpolate'] as const), BaseGeometry.ShadingCategory)
|
|
|
};
|
|
|
export type Params = typeof Params
|
|
|
|