build.get_customize_info
Overview
- Returns customizable parts and current material parameters of a game object (furniture, decoration, etc).
Metadata
| Field | Value |
|---|---|
| Display | Get Customize Info |
| Category | build |
| Access | Public |
| Scope | B1Standalone |
| Tags | Experimental |
| Aliases | — |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| entity_id | entityId | yes | — | Target game object entity ID |
Returns
- Freeform result (shape is not fixed).
{ entity_id: int, part_count: int, parts: [ { index: int, parts_row_key: string, plus optional color/pattern_color/emissive_color objects and optional roughness, specular, metallic, opacity, material_group, material_index, pattern_scale, emissive_multi } ] } — per-part material fields are emitted conditionally and include nested color objects.
Usage
await inzoi.cli.execute('build.get_customize_info', {
entity_id: 0,
});