ScrapeModel
February 6, 2023 ยท View on GitHub
from tdw.physics_audio.scrape_model import ScrapeModel
Data for a 3D model being used as a Clatter scrape surface.
Fields
-
model_nameThe name of the model. -
sub_objectsA list of sub-objects that will be used as scrape surfaces. -
scrape_materialThe scrape material. -
visual_materialThe name of the new visual material.
Functions
__init__
ScrapeModel(model_name, sub_objects, visual_material, scrape_material)
| Parameter | Type | Default | Description |
|---|---|---|---|
| model_name | str | The name of the model. | |
| sub_objects | List[ScrapeSubObject] | A list of sub-objects that will be used as scrape surfaces. | |
| visual_material | str | The name of the new visual material. | |
| scrape_material | ScrapeMaterial | The scrape material. |