ProtoFlux:Local Transform: Difference between revisions

From Resonite Wiki
oops mark stub
Tag: Removed redirect
fix page to have content
Line 1: Line 1:
{{Stub}}
{{#Invoke:ProtoFlux|GenerateUI
|Name=Local Transform
|Category=Transform
|Inputs=
[
{"Name":"*", "Type":"Slot"}
]
|Outputs=
[
{"Name":"Position", "Type":"float3"},
{"Name":"Rotation", "Type":"floatQ"},
{"Name":"Scale", "Type":"float3"}
]
|}}


This page is yet to be created.
Local transform is a ProtoFlux node that gives the values for the location, rotation, and scale fields of a [[Slot|Slot]].
 
see [[Coordinate spaces]] for an in depth explanation on coordinate spaces.
 
== Inputs ==
 
=== * ([[Slot]]) ===
The slot to read a Local transform from
 
== Outputs ==
 
=== Position ([[Type:Float3|Float3]]) ===
The local position of the provided * ([[Slot]])
 
=== Rotation ([[Type:FloatQ|FloatQ]]) ===
The local rotation of the provided * ([[Slot]])
 
=== Scale ([[Type:Float3|Float3]]) ===
The local scale of the provided * ([[Slot]])
 
== Examples ==
 
<gallery widths=480px heights=480px>
File:Protoflux_example_local_transform.webp|Local transform being used in a moving object code
</gallery>
 
[[Category:ProtoFlux:Transform]]

Revision as of 23:57, 10 February 2024

Local Transform
*
Position
Rotation
Scale
Transform

Local transform is a ProtoFlux node that gives the values for the location, rotation, and scale fields of a Slot.

see Coordinate spaces for an in depth explanation on coordinate spaces.

Inputs

* (Slot)

The slot to read a Local transform from

Outputs

Position (Float3)

The local position of the provided * (Slot)

Rotation (FloatQ)

The local rotation of the provided * (Slot)

Scale (Float3)

The local scale of the provided * (Slot)

Examples