de93d48901
Keep track of MeshInstance and GeometryInstance override materials in the GLTFMesh object. Ensure all arrays are non-empty to conform with "minItems":1 in glTF spec.
17 lines
616 B
XML
17 lines
616 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="GLTFMesh" inherits="Resource" version="4.0">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<members>
|
|
<member name="blend_weights" type="PackedFloat32Array" setter="set_blend_weights" getter="get_blend_weights" default="PackedFloat32Array()">
|
|
</member>
|
|
<member name="instance_materials" type="Array" setter="set_instance_materials" getter="get_instance_materials" default="[]">
|
|
</member>
|
|
<member name="mesh" type="ImporterMesh" setter="set_mesh" getter="get_mesh">
|
|
</member>
|
|
</members>
|
|
</class>
|