Function buildDemoModelTable

  • Builds a simple table model with a top and four legs, using box geometries.

    Parameters

    • cfg: { dataModel: DataModel; position?: Vec3; sceneModel: SceneModel }

      Configuration for building the demo model table.

      • position (optional): A 3D point [x, y, z] specifying the position of the table in the scene. If not provided, the table will be positioned at the origin [0, 0, 0].
      • sceneModel: The SceneModel instance where the table will be added.
      • dataModel: The DataModel instance for any data-related operations (not used in this specific implementation but included for potential future use).

    Returns SDKResult<any>