add some more info |
Add info |
||
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
|Name=Bezier Tube Mesh | |Name=Bezier Tube Mesh | ||
}} | }} | ||
Bezier tube mesh is a component that allows for making a continuous tube of geometry that is a Bezier curve shape defined by points. | |||
<!--T:2--> | <!--T:2--> | ||
Line 16: | Line 17: | ||
|Profile|ColorProfile| {{Template:ProceduralMeshColorProfile}} | |Profile|ColorProfile| {{Template:ProceduralMeshColorProfile}} | ||
|Radius|Float| The radius of the tube (from center to outside). | |Radius|Float| The radius of the tube (from center to outside). | ||
|Points|{{RootFieldType|SyncCurve`1|[[Type:Float3|Float3]]}}|TypeAdv5=true| Curve tangent point/handle array used for the generation of this mesh. | |Points|{{RootFieldType|SyncCurve`1|[[Type:Float3|Float3]]}}|TypeAdv5=true| Curve tangent point/handle array used for the generation of this mesh. Editing this via [[Mods]] produces undesirable results where the curve has really sharp bends. | ||
|SegmentPoints|Int| | |SegmentPoints|Int| How many sides the tube mesh has around it's mid section. | ||
| | |StepsPerUnitLength|Int| How many bends from point to point the tube should have. | ||
}} | |||
== Sync Delegates == | |||
{{Table ComponentTriggers | |||
|BakeMesh()|[[Type:Action|Action]]|{{Template:BakeMeshSyncMethod}} | |||
}} | }} | ||
Line 26: | Line 32: | ||
<!--T:4--> | <!--T:4--> | ||
== Examples == | == Examples == | ||
<gallery widths=480px heights=480px> | |||
File:BezierTubeMesh_Example_1.png|Example (part 1) of a bezier tube mesh setup | |||
File:BezierTubeMesh_Example_2.png|Example (part 2) of a bezier tube mesh setup | |||
File:BezierTubeMesh_Example_3.png|Example (part 3) of a bezier tube mesh setup | |||
</gallery> | |||
<!--T:5--> | <!--T:5--> | ||
== Related Components == | == Related Components == | ||
* [[Component:CurvePoint|Curve Point]] | |||
* [[Component:BezierCurve|Bezier Curve]] | |||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|Bezier Tube Mesh]] | [[Category:Components{{#translation:}}|Bezier Tube Mesh]] | ||
[[Category:Components:Assets:Procedural Meshes{{#translation:}}|Bezier Tube Mesh]] | [[Category:Components:Assets:Procedural Meshes{{#translation:}}|Bezier Tube Mesh]] |
Latest revision as of 15:41, 6 November 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
Bezier tube mesh is a component that allows for making a continuous tube of geometry that is a Bezier curve shape defined by points.
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. |
HighPriorityIntegration
|
Bool | If true, integrating this asset (e.g. processing procedural assets) gets higher priority than assets with this flag off. An example is user laser procedural meshes. |
OverrideBoundingBox
|
Bool | Force the bounding box calculated from this component to use OverridenBoundingBox instead of calculating when requested.
|
OverridenBoundingBox
|
BoundingBox | the bounding box this component should say it has when OverrideBoundingBox is enabled. Useful for bounding box calculations with Flux, or changing the selection box for this component when rendered.
|
Profile
|
ColorProfile | The profile that the vertex colors for this mesh should be displayed in. |
Radius
|
Float | The radius of the tube (from center to outside). |
Points
|
direct SyncCurve`1<Float3> | Curve tangent point/handle array used for the generation of this mesh. Editing this via Mods produces undesirable results where the curve has really sharp bends. |
SegmentPoints
|
Int | How many sides the tube mesh has around it's mid section. |
StepsPerUnitLength
|
Int | How many bends from point to point the tube should have. |
Sync Delegates
Method Name | Method type and Arguments. | Description |
---|---|---|
BakeMesh()
|
Action | Bake meshes is a sync method that creates a static mesh component with this component, replaces all references to this component with the static mesh component, then deletes this component. |
Usage
Examples
-
Example (part 1) of a bezier tube mesh setup
-
Example (part 2) of a bezier tube mesh setup
-
Example (part 3) of a bezier tube mesh setup