Template:ConvertCoordinateValueNode: Difference between revisions

Template page
fixing error
fix output description
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>=== Edit this page to edit all Transforming Coordinate Pages.===</noinclude>
<noinclude>=== Edit this page to edit all Converting Coordinate Pages.===</noinclude>
<includeonly>{{#Invoke:ProtoFlux|GenerateUI
{{#Invoke:ProtoFlux|GenerateUI
|Name={{{1}}} {{{2}}} To {{{3}}}
|Name={{{1}}} {{{2}}} To {{{3}}}
|Category=Direction
|Category=Direction
|Inputs=
|Inputs=
[
[
{"Name":"Instance", "Type":"Slot"}
{"Name":"Instance", "Type":"Slot"},
{"Name":"{{{1}}}{{{2}}}", "Type":"{{{4}}}"}
{"Name":"{{{1}}}{{{2}}}", "Type":"{{{4}}}"}
]
]
Line 12: Line 12:
{"Name":"*", "Type":"{{{4}}}"}
{"Name":"*", "Type":"{{{4}}}"}
]
]
|}}</includeonly>
|}}


{{{1}}} {{{2}}} To {{{3}}} Is a protoflux node that allows you to convert a [[Type:{{{5}}}|{{{4}}}]] from {{{1}}} space {{{3}}} using the Instance ([[Slot|Slot]]) as a reference space.  
{{{1}}} {{{2}}} To {{{3}}} Is a protoflux node that allows you to convert a [[Type:{{{5}}}|{{{4}}}]] from {{{1}}} space to {{{3}}} space using the Instance ([[Slot|Slot]]) as a reference space.  


See [[Coordinate Spaces]] For how this node can be used in bigger systems.
See [[Coordinate Spaces]] For how this node can be used in bigger systems.
Line 32: Line 32:
=== * ([[Type:{{{5}}}|{{{4}}}]]) ===  
=== * ([[Type:{{{5}}}|{{{4}}}]]) ===  


The {{{1}}} of the provided Instance ([[Slot|Slot]]).
The converted {{{1}}}{{{2}}} ([[Type:{{{5}}}|{{{4}}}]]).


== Examples ==
== Examples ==
Line 38: Line 38:
<noinclude><code>//Calling the function from this page causes errors, so have an example thing that is not included to give an idea of what the page would look like</code></noinclude>
<noinclude><code>//Calling the function from this page causes errors, so have an example thing that is not included to give an idea of what the page would look like</code></noinclude>
<noinclude>[[File:TestImage.webp|480x480px|thumb|left|Get ARG1 being used to show the ARG1  direction of a slot using a [[ProtoFlux:Debug Vector|Debug Vector Node]]|alt={{{1}}} {{{2}}} To {{{3}}} being used in a bigger piece of code.]]</noinclude>
<noinclude>[[File:TestImage.webp|480x480px|thumb|left|Get ARG1 being used to show the ARG1  direction of a slot using a [[ProtoFlux:Debug Vector|Debug Vector Node]]|alt={{{1}}} {{{2}}} To {{{3}}} being used in a bigger piece of code.]]</noinclude>
<includeonly>[[{{#Invoke:ReturnImageForTemplate|ReturnImage|File:ProtoFlux_Example_|.webp|3}}|480x480px|thumb|left|{{{1}}} {{{2}}} To {{{3}}} {{{1}}} being used in a bigger piece of code.|alt={{{1}}} {{{2}}} To {{{3}}} being used in a bigger piece of code.</includeonly>
<includeonly>[[{{#Invoke:ReturnImageForTemplate|ReturnImage|File:ProtoFlux_Example_|.webp|3}}|480x480px|thumb|left|{{{1}}} {{{2}}} To {{{3}}} {{{1}}} being used in a bigger piece of code.|alt={{{1}}} {{{2}}} To {{{3}}} being used in a bigger piece of code.]]</includeonly>






<includeonly>[[Category:ProtoFlux:Transform:Direction]]</includeonly>
<includeonly>[[Category:ProtoFlux:Transform:Conversion]]</includeonly>

Latest revision as of 23:12, 10 February 2024

Edit this page to edit all Converting Coordinate Pages.

{{{1}}} {{{2}}} To {{{3}}}
Instance
*
{{{1}}}{{{2}}}
Direction

{{{1}}} {{{2}}} To {{{3}}} Is a protoflux node that allows you to convert a [[Type:{{{5}}}|{{{4}}}]] from {{{1}}} space to {{{3}}} space using the Instance (Slot) as a reference space.

See Coordinate Spaces For how this node can be used in bigger systems.

Inputs

Instance (Slot)

The slot to use as reference for converting the provided {{{2}}}.

{{{1}}}{{{2}}} ([[Type:{{{5}}}|{{{4}}}]])

The {{{2}}} to convert from {{{1}}} space to {{{3}}} space.

Outputs

* ([[Type:{{{5}}}|{{{4}}}]])

The converted {{{1}}}{{{2}}} ([[Type:{{{5}}}|{{{4}}}]]).

Examples

//Calling the function from this page causes errors, so have an example thing that is not included to give an idea of what the page would look like

{{{1}}} {{{2}}} To {{{3}}} being used in a bigger piece of code.
Get ARG1 being used to show the ARG1 direction of a slot using a Debug Vector Node