Automated: create new component page |
add info |
||
Line 3: | Line 3: | ||
|Name=Proto Flux Wire Manager | |Name=Proto Flux Wire Manager | ||
}} | }} | ||
The '''ProtoFluxWireManager''' component is used to drive the visual elements of protoflux wires which connect protoflux nodes. | |||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|ConnectPoint|{{RootFieldType|TransformRelayRef}}|TypeAdv0=true| | |ConnectPoint|{{RootFieldType|TransformRelayRef}}|TypeAdv0=true| The point this is supposed to be pointing to. | ||
|Type|WireType| | |Type|WireType| The type of wire this is supposed to be showing. | ||
|Width|Float| | |Width|Float| The width this wire should be. | ||
|StartColor|ColorX| | |StartColor|ColorX| The color this wire should start at. usually used for async impulse wires. | ||
|EndColor|ColorX| | |EndColor|ColorX| The end color this wire should end at. usually used for async impulse wires. | ||
|DeleteHighlight|Bool| | |DeleteHighlight|Bool| Whether to delete the highlight visual. | ||
|_wireMesh|'''[[Component:StripeWireMesh|StripeWireMesh]]'''|TypeAdv6=true| | |_wireMesh|'''[[Component:StripeWireMesh|StripeWireMesh]]'''|TypeAdv6=true| The stripe mesh this is modifying. | ||
|_renderer|'''[[Component:MeshRenderer|MeshRenderer]]'''|TypeAdv7=true| | |_renderer|'''[[Component:MeshRenderer|MeshRenderer]]'''|TypeAdv7=true| The renderer of the stripe mesh this is modifying. | ||
|_collider|'''[[Component:MeshCollider|MeshCollider]]'''|TypeAdv8=true| | |_collider|'''[[Component:MeshCollider|MeshCollider]]'''|TypeAdv8=true| The collider of this stripe mesh visual. | ||
|_targetPosition|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv9=true| | |_targetPosition|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv9=true| The field to drive with the target position for the stripe mesh. | ||
|_targetTangent|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv10=true| | |_targetTangent|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv10=true| The field to drive with the target tangent for the stripe mesh. | ||
|_targetOrientation|{{RootFieldType|FieldDrive`1|[[Type:FloatQ|FloatQ]]}}|TypeAdv11=true| | |_targetOrientation|{{RootFieldType|FieldDrive`1|[[Type:FloatQ|FloatQ]]}}|TypeAdv11=true| The field to drive with the target orientation for the stripe mesh. | ||
|_targetWidth|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv12=true| | |_targetWidth|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv12=true| The field to drive with the target width for the stripe mesh. | ||
}} | }} | ||
== | == Usage == | ||
== Examples == | == Examples == | ||
Line 30: | Line 30: | ||
[[Category:Components:Uncategorized{{#translation:}}|Proto Flux Wire Manager]] | [[Category:Components:Uncategorized{{#translation:}}|Proto Flux Wire Manager]] | ||
[[Category:Components{{#translation:}}|Proto Flux Wire Manager]] | [[Category:Components{{#translation:}}|Proto Flux Wire Manager]] | ||
Latest revision as of 02:28, 1 August 2025
Component image File:ProtoFluxWireManagerComponent.pngProto Flux Wire Manager component as seen in the Scene Inspector
The ProtoFluxWireManager component is used to drive the visual elements of protoflux wires which connect protoflux nodes.
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. |
ConnectPoint
|
direct TransformRelayRef | The point this is supposed to be pointing to. |
Type
|
WireType | The type of wire this is supposed to be showing. |
Width
|
Float | The width this wire should be. |
StartColor
|
ColorX | The color this wire should start at. usually used for async impulse wires. |
EndColor
|
ColorX | The end color this wire should end at. usually used for async impulse wires. |
DeleteHighlight
|
Bool | Whether to delete the highlight visual. |
_wireMesh
|
StripeWireMesh | The stripe mesh this is modifying. |
_renderer
|
MeshRenderer | The renderer of the stripe mesh this is modifying. |
_collider
|
MeshCollider | The collider of this stripe mesh visual. |
_targetPosition
|
field drive of Float3 | The field to drive with the target position for the stripe mesh. |
_targetTangent
|
field drive of Float3 | The field to drive with the target tangent for the stripe mesh. |
_targetOrientation
|
field drive of FloatQ | The field to drive with the target orientation for the stripe mesh. |
_targetWidth
|
field drive of Float | The field to drive with the target width for the stripe mesh. |