3D-City Model
    Preparing search index...

    Function readInspector

    • Reads all the inspector UI fields for translation (rw/hw/height), rotation (x/y/z rot), and scaling (x/y/z scale) and composes a full 4x4 transformation matrix suitable for application to a 3D object or gizmo. Applies clamping to input values; performs coordinate transformation and applies both global and inspector-derived rotations.

      Parameters

      • rw: HTMLInputElement

        Input element for "rw" translation value.

      • hw: HTMLInputElement

        Input element for "hw" translation value.

      • height: HTMLInputElement

        Input for "height" (z-translation).

      • xrot: HTMLInputElement

        Input for rotation about X axis (degrees).

      • yrot: HTMLInputElement

        Input for rotation about Y axis (degrees).

      • zrot: HTMLInputElement

        Input for rotation about Z axis (degrees).

      • xsca: HTMLInputElement

        Input for X-scale.

      • ysca: HTMLInputElement

        Input for Y-scale.

      • zsca: HTMLInputElement

        Input for Z-scale.

      Returns Matrix4

      The composed transformation matrix suitable for Cesium primitives.