Skip to content

Documentation / @ripl/vue-3d / BASE_3D_STATE_KEYS

Variable: BASE_3D_STATE_KEYS ​

const BASE_3D_STATE_KEYS: ("filter" | "fill" | "direction" | "font" | "fontKerning" | "opacity" | "globalCompositeOperation" | "lineCap" | "lineDash" | "lineDashOffset" | "lineJoin" | "lineWidth" | "miterLimit" | "shadowBlur" | "shadowColor" | "shadowOffsetX" | "shadowOffsetY" | "stroke" | "textAlign" | "textBaseline" | "translateX" | "translateY" | "transformScaleX" | "transformScaleY" | "rotation" | "transformOriginX" | "transformOriginY")[]

Defined in: vue-3d/src/core/props.ts:12

The base state a 3D shape inherits, minus zIndex.

A 3D shape derives its own zIndex from projected depth and warns if one is assigned, so binding it would be a way to make the console noisy and nothing else.