Skip to content

RenderingOptionsData

The complete set of visual display settings for a SketchUp model.

This interface describes every rendering option SketchUp exposes — background colors, edge styles, fog, transparency, section cuts, and more. The RenderingOptions class implements this interface and provides methods to read and stream changes.

Property names match SketchUp’s internal option keys exactly, which is why they use PascalCase rather than the API’s usual camelCase.

let model = await SketchUpApi.getActiveModel();
let opts = await model.getRenderingOptions();
console.log(opts.BackgroundColor.toHex());
// => "#CCCCC9FF"
console.log(opts.EdgeDisplayMode);
// => 1 (EdgeDisplayMode.All)

RenderingOptions

AmbientOcclusion: boolean


optional AmbientOcclusionColor?: Color


AmbientOcclusionDistance: number


AmbientOcclusionIntensity: number


optional AmbientOcclusionMultiplier?: number


BackgroundColor: Color


BandColor: Color


ConstructionColor: Color


DepthQueWidth: number


DisplayColorByLayer: boolean


DisplayDims: boolean


DisplayFog: boolean


DisplayInstanceAxes: boolean


DisplaySectionCuts: boolean


DisplaySectionPlanes: boolean


DisplaySketchAxes: boolean


DisplayText: boolean


DisplayWatermarks: boolean


DrawBackEdges: boolean


DrawDepthQue: boolean


DrawGround: boolean


DrawHidden: boolean


DrawHorizon: boolean


DrawLineEnds: boolean


DrawProfilesOnly: boolean


DrawSilhouettes: boolean


DrawUnderground: boolean


EdgeColorMode: EdgeColorMode


EdgeDisplayMode: EdgeDisplayMode


EdgeType: EdgeType


ExtendLines: boolean


FaceBackColor: Color


FaceFrontColor: Color


FogColor: Color


FogEndDist: number


FogStartDist: number


FogUseBkColor: boolean


ForegroundColor: Color


GroundColor: Color


GroundTransparency: number


HideConstructionGeometry: boolean


HighlightColor: Color


HorizonColor: Color


InactiveFade: number


InactiveHidden: boolean


InstanceFade: number


InstanceHidden: boolean


JitterEdges: boolean


LineEndWidth: number


LineExtension: number


LockedColor: Color


MaterialTransparency: boolean


ModelTransparency: boolean


RenderMode: RenderMode


SectionActiveColor: Color


SectionCutDrawEdges: boolean


SectionCutFilled: boolean


SectionCutWidth: number


SectionDefaultCutColor: Color


SectionDefaultFillColor: Color


SectionInactiveColor: Color


ShowViewName: boolean


SilhouetteWidth: number


SkyColor: Color


Texture: boolean


TransparencySort: TransparencySort