@nodaro/shared 3.0.0 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/scene3d-v2.ts CHANGED
@@ -314,6 +314,8 @@ export interface Scene3DEntityV2 {
314
314
  position?: Vec3
315
315
  rotation?: Vec3
316
316
  scale?: Vec3
317
+ /** Baked visibility before manual overlays. Absent means visible. */
318
+ visible?: boolean
317
319
  /** The selection/identity chip colour. Opaque hex, sRGB. */
318
320
  identityColor?: string
319
321
  anchors?: Scene3DAnchor[]
@@ -541,6 +543,7 @@ export const scene3DEntityV2Schema = z
541
543
  position: vec3Schema.optional(),
542
544
  rotation: rotationVec3Schema.optional(),
543
545
  scale: scaleVec3Schema.optional(),
546
+ visible: z.boolean().optional(),
544
547
  identityColor: scene3DColorSchema.optional(),
545
548
  anchors: z.array(scene3DAnchorSchema).max(SCENE3D_V2_LIMITS.maxAnchorsPerEntity).optional(),
546
549
  capabilities: z.array(scene3DEntityCapabilitySchema).max(SCENE3D_ENTITY_CAPABILITIES.length).optional(),