Class VehicleVisualModel

The VehicleVisualModel is a configuration object describing a SceneObject that will be used as a visual model for some kind of vehicle part, e.g. a wheel. The VehicleVisualModel is either a relative path that can be used to locate the scene object (assuming it exists) or a Template that will be used to instantiate the scene object.

Hierarchy

  • FrameworkObject
    • VehicleVisualModel

Constructors

Accessors

Methods

Constructors

Accessors

Methods

  • Get the path to the scene object used as a visual model.

    Returns string

    The path to the visual model scene object or an empty string if the visual model type is not VehicleVisualModelType::Path.

  • Get the template used as a visual model.

    Returns Template

    The visual model template or null if the visual model type is not VehicleVisualModelType::Template.

  • Sets the visual model to the specified scene object path.

    Parameters

    • path: string

      Path to the scene object to use as visual model for this wheel.

    Returns any

  • Sets the visual model to the specified template.

    Parameters

    Returns any

  • Sets the visual model to an empty template.

    Returns any