Skip to main content

build.get_customize_info

Overview

  • Returns customizable parts and current material parameters of a game object (furniture, decoration, etc).

Metadata

FieldValue
DisplayGet Customize Info
Categorybuild
AccessPublic
ScopeB1Standalone
TagsExperimental
Aliases

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdyesTarget 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,
});