Last updated

API / geotoolkit3d / scene / plane / PlaneMaterial / PlaneMaterial

Namespace: PlaneMaterial

plane.PlaneMaterial.PlaneMaterial

Table of contents

Type Aliases

Contents

Type Aliases

DeprecatedOptions

Ƭ DeprecatedOptions: Object

Deprecated

to remove once every deprecated field have been removed.

Type declaration

NameTypeDescription
color?ColorDeprecated since 5.0, please use options.overlayoptions.backgroundfillstyle instead to control the Plane base color.
opacity?numberDeprecated since 5.0, please use options.overlayoptions.backgroundfillstyle instead to control the Plane base opacity.

Options

Ƭ Options: Omit<Options, "color" | "opacity"> & DeprecatedOptions & { overlayoptions?: OverlayOptions ; usemipmaps?: boolean }


OptionsBase

Ƭ OptionsBase: Omit<OptionsBase, "color" | "opacity"> & DeprecatedOptions & { overlayoptions?: OverlayOptions }


OverlayOptions

Ƭ OverlayOptions: Object

Type declaration

NameTypeDescription
backgroundfillstyle?TypeDefine the overlay background fillstyle.
Accept CSS color as well as FillStyles.
Can be set to 'null' to prevent drawing the background.
Default color is 50% opacity grey.
height?numberthe height of the overlay, in pixels. Default is 2048.
pixelscale?numberthe rendering scale of the overlay. Overlay resolution is (pixelscale * width) * (pixelscale * height)
shapegroup?GroupA group that will be used to render 2D shapes on top of the plane as 'overlay'. Will be drawn on top of the base image if any.
width?numberthe width of the overlay, in pixels. Default is 2048.