add info |
989onan bot (talk | contribs) Automated: update Fields |
||
(One intermediate revision by one other user not shown) | |||
Line 7: | Line 7: | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|GlueMode|'''[[#Mode|Mode]]'''|TypeAdv0=true| How to Glue the objects in the area or effect. | |GlueMode|'''[[#Mode|Glue.Mode]]'''|TypeAdv0=true| How to Glue the objects in the area or effect. | ||
|Active|Bool| Whether this component is ready to glue. | |Active|Bool| Whether this component is ready to glue. | ||
|DryTime|Float| How long it takes for this Glue to dry. | |DryTime|Float| How long it takes for this Glue to dry. | ||
Line 15: | Line 15: | ||
|isDrying|Bool| Whether this Glue is currently drying or not. | |isDrying|Bool| Whether this Glue is currently drying or not. | ||
|dryStartTime|Double| When the user triggerd this Glue to start drying in world time. | |dryStartTime|Double| When the user triggerd this Glue to start drying in world time. | ||
}} | |||
== Mode == | |||
{{Table EnumValues | |||
|ParentObjects|0| Parent objects will parent all objects within the glue bubble to a single parent. | |||
|BakeMeshes|1| Bake meshes will bake all meshes within the glue bubble to a single asset. | |||
|BakeSkinnedMeshes|2| Bake skinned meshes will bake multiple skinned meshes in a single asset. | |||
}} | }} | ||
Latest revision as of 06:02, 17 March 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
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
|
Glue.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. |
Mode
Name | Value | Description |
---|---|---|
ParentObjects
|
0 | Parent objects will parent all objects within the glue bubble to a single parent. |
BakeMeshes
|
1 | Bake meshes will bake all meshes within the glue bubble to a single asset. |
BakeSkinnedMeshes
|
2 | Bake skinned meshes will bake multiple skinned meshes in a single asset. |