Dynamically creates a 3D alcove environment around the HologramCamera in Unity. Supports runtime updates, adjustable dimensions, and subdivided meshes for improved visual quality.
Fields & Properties
float borderThickness
Thickness of the borders.
Default:0.01f
float backWallDistance
Distance of the back wall from the camera.
Default:1.0f
Material boxBGMaterial
Material applied to the alcove walls.
int meshSubdivisionsX
Number of subdivisions along the X-axis for wall meshes.
Default:2
int meshSubdivisionsY
Number of subdivisions along the Y-axis for wall meshes.
Default:2
bool showInHierarchy
Whether to display walls in the Unity hierarchy.
Default:false
Methods
void RecreateBox()
Destroys and recreates the alcove walls based on the HologramCamera calibration.