Component:BezierCurve: Difference between revisions

From Resonite Wiki
Automated: update Fields
add info
Line 7: Line 7:
|Name=Bezier Curve
|Name=Bezier Curve
}}
}}
Bezier curve is used along with [[Component:BezierTubeMesh|Bezier Tube Mesh]] to define the array of curve points that control the mesh's shape.


<!--T:2-->
<!--T:2-->
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Points|{{RootFieldType|SyncRelayList`1|[[Component:CurvePoint|CurvePoint]]}}|TypeAdv0=true|
|Points|{{RootFieldType|SyncRelayList`1|[[Component:CurvePoint|CurvePoint]]}}|TypeAdv0=true| A list of controlling Curve Points.
|CoordinateSpace|Slot|
|CoordinateSpace|Slot| The [[Coordinate spaces|Coordinate Space]] in which to do curve calculations in.
|AssignCurveData|{{RootFieldType|DriveRef`1|[[Type:SyncCurve`1|SyncCurve`1]]&lt;[[Type:Float3|Float3]]&gt;}}|TypeAdv2=true|
|AssignCurveData|{{RootFieldType|DriveRef`1|[[Type:SyncCurve`1|SyncCurve`1]]&lt;[[Type:Float3|Float3]]&gt;}}|TypeAdv2=true| The list to fill with curve data, which is the <code>Points</code> field of a [[Component:BezierTubeMesh|Bezier Tube Mesh]].
}}
}}


Line 21: Line 22:
<!--T:4-->
<!--T:4-->
== Examples ==
== Examples ==
<gallery widths=480px heights=480px>
File:BezierTubeMesh_Example_2.png|Example (part 2) of a bezier tube mesh setup
</gallery>


<!--T:5-->
<!--T:5-->
== Related Components ==
== Related Components ==
* [[Component:CurvePoint|Curve Point]]
* [[Component:BezierTubeMesh|Bezier Tube Mesh]]
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Bezier Curve]]
[[Category:Components{{#translation:}}|Bezier Curve]]
[[Category:Components:Uncategorized{{#translation:}}|Bezier Curve]]
[[Category:Components:Uncategorized{{#translation:}}|Bezier Curve]]

Revision as of 00:36, 24 October 2024


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


Component image 
Bezier Curve component as seen in the Scene Inspector

Bezier curve is used along with Bezier Tube Mesh to define the array of curve points that control the mesh's shape.

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.
Points direct SyncRelayList`1<CurvePoint> A list of controlling Curve Points.
CoordinateSpace Slot The Coordinate Space in which to do curve calculations in.
AssignCurveData direct DriveRef`1<SyncCurve`1<Float3>> The list to fill with curve data, which is the Points field of a Bezier Tube Mesh.

Usage

Examples

Related Components