Component:Glue: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
Line 3: Line 3:
|Name=Glue
|Name=Glue
}}
}}
{{stub}}
The '''Glue''' component is generated by the [[Component:GlueTool|GlueTool]] when the user press and drags primary with the tool equipped. The mode on that tool determines what this component's <code>GlueMode</code> will be.


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|GlueMode|'''[[#Mode|Mode]]'''|TypeAdv0=true|
|GlueMode|'''[[#Mode|Mode]]'''|TypeAdv0=true| How to Glue the objects in the area or effect.
|Active|Bool|
|Active|Bool| Whether this component is ready to glue.
|DryTime|Float|
|DryTime|Float| How long it takes for this Glue to dry.
|Expire|Double|
|Expire|Double| When this component should delete itself in world time.
|GluingUser|User|
|GluingUser|User| The user that is gluing this glue.
|_forceDry|Bool|
|_forceDry|Bool| Whether to force dry this glue.
|isDrying|Bool|
|isDrying|Bool| Whether this Glue is currently drying or not.
|dryStartTime|Double|
|dryStartTime|Double| When the user triggerd this Glue to start drying in world time.
}}
}}
== Behavior ==
== Examples ==


== See Also ==
== See Also ==
* [[Glue Tool]]
* [[Component:GlueTool]]


[[Category:Components:Uncategorized{{#translation:}}|Glue]]
[[Category:Components:Uncategorized{{#translation:}}|Glue]]
[[Category:Components{{#translation:}}|Glue]]
[[Category:Components{{#translation:}}|Glue]]
[[Category:Components With Nested Enums{{#translation:}}|Glue]]
[[Category:Components With Nested Enums{{#translation:}}|Glue]]
[[Category:ComponentStubs]]

Revision as of 19:31, 19 January 2025

Component image 
Glue component as seen in the Scene Inspector

The Glue component is generated by the GlueTool when the user press and drags primary with the tool equipped. The mode on that tool determines what this component's GlueMode will be.

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.
GlueMode Mode How to Glue the objects in the area or effect.
Active Bool Whether this component is ready to glue.
DryTime Float How long it takes for this Glue to dry.
Expire Double When this component should delete itself in world time.
GluingUser User The user that is gluing this glue.
_forceDry Bool Whether to force dry this glue.
isDrying Bool Whether this Glue is currently drying or not.
dryStartTime Double When the user triggerd this Glue to start drying in world time.

See Also