Component:MaterialGizmo: Difference between revisions

From Resonite Wiki
Automated: update Fields
m typo
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
|Name=Material Gizmo
|Name=Material Gizmo
}}
}}
{{stub}}
The '''MaterialGizmo''' component is used to set up and manage [[Materials|Material orbs]] and their behavior for snapping to snapper components.


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|_target|{{RootFieldType|RelayRef`1|[[Type:MaterialProvider|MaterialProvider]]}}|TypeAdv0=true|
|_target|{{RootFieldType|RelayRef`1|[[Type:MaterialProvider|MaterialProvider]]}}|TypeAdv0=true| The material this Gizmo was made for.
|_inspectorRoot|{{RootFieldType|RelayRef`1|[[Type:Slot|Slot]]}}|TypeAdv1=true|
|_inspectorRoot|{{RootFieldType|RelayRef`1|[[Type:Slot|Slot]]}}|TypeAdv1=true| The inspector made in order to view <code>_target</code>
}}
}}


== Behavior ==
== Usage ==
Used with the [[Material Tool]] and [[Scene Inspector]] to manage references to materials as an item that can be held and looked at.


== Examples ==
== Examples ==
{{stub}} have images here.


== See Also ==
== See Also ==
Line 19: Line 21:
[[Category:Components:Uncategorized{{#translation:}}|Material Gizmo]]
[[Category:Components:Uncategorized{{#translation:}}|Material Gizmo]]
[[Category:Components{{#translation:}}|Material Gizmo]]
[[Category:Components{{#translation:}}|Material Gizmo]]
[[Category:ComponentStubs]]

Latest revision as of 17:07, 26 June 2025

Component image 
Material Gizmo component as seen in the Scene Inspector

The MaterialGizmo component is used to set up and manage Material orbs and their behavior for snapping to snapper components.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
_target direct RelayRef`1<MaterialProvider> The material this Gizmo was made for.
_inspectorRoot direct RelayRef`1<Slot> The inspector made in order to view _target

Usage

Used with the Material Tool and Scene Inspector to manage references to materials as an item that can be held and looked at.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it. have images here.

See Also