imported>AshtonSparx Created page with "<languages></languages> <translate> <!--T:1--> {{stub}} {{Infobox Component |Image=BezierCurveComponent.png |Name=Bezier Curve }} <!--T:2--> == Fields == {{Table ComponentFie..." |
add link |
||
(3 intermediate revisions by 3 users not shown) | |||
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. See [[Component:BezierTubeMesh|Bezier Tube Mesh]] for a full example. | |||
<!--T:2--> | <!--T:2--> | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Points|SyncRelayList`1| | |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|SyncCurve`1| | |AssignCurveData|{{RootFieldType|DriveRef`1|[[Type:SyncCurve`1|SyncCurve`1]]<[[Type:Float3|Float3]]>}}|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:Components{{#translation:}}|Bezier Curve]] | [[Category:Components{{#translation:}}|Bezier Curve]] | ||
[[Category:Components:Uncategorized{{#translation:}}|Bezier Curve]] | [[Category:Components:Uncategorized{{#translation:}}|Bezier Curve]] |
Latest revision as of 00:37, 24 October 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
Bezier curve is used along with Bezier Tube Mesh to define the array of curve points that control the mesh's shape. See Bezier Tube Mesh for a full example.
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
-
Example (part 2) of a bezier tube mesh setup