Skip to main content

build.reset_material

Overview

  • Reset material parameters to default. If part_index is specified, resets only that part. Otherwise resets all parts.

Metadata

FieldValue
DisplayReset Material
Categorybuild
AccessScriptCheat
ScopeB1Multicast
TagsExperimental
Aliases

Parameters

NameTypeRequiredDefaultDescription
entity_identityIdyesTarget game object entity ID
part_indexintnoPart index to reset (default: all parts)

Returns

  • Return shape is not declared for this command.

Usage

await inzoi.cli.execute('build.reset_material', {
entity_id: 0,
part_index: 0, // optional
});