Component:CubemapCreator: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
→‎Rotation: fix table
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
|Name=Cubemap Creator
|Name=Cubemap Creator
}}
}}
{{stub}}
See [[Cubemap Creator]].


== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|TopBottomRotation|'''[[#Rotation|Rotation]]'''|TypeAdv0=true|
|TopBottomRotation|'''[[#Rotation|Rotation]]'''|TypeAdv0=true| How to Rotate the top and bottom images to fit.
|PosX|{{RootFieldType|AssetRef`1|[[Type:Texture2D|Texture2D]]}}|TypeAdv1=true|
|PosX|{{RootFieldType|AssetRef`1|[[Type:Texture2D|Texture2D]]}}|TypeAdv1=true| What to use for the positive X side.
|NegX|{{RootFieldType|AssetRef`1|[[Type:Texture2D|Texture2D]]}}|TypeAdv2=true|
|NegX|{{RootFieldType|AssetRef`1|[[Type:Texture2D|Texture2D]]}}|TypeAdv2=true| What to use for the negative X side.
|PosY|{{RootFieldType|AssetRef`1|[[Type:Texture2D|Texture2D]]}}|TypeAdv3=true|
|PosY|{{RootFieldType|AssetRef`1|[[Type:Texture2D|Texture2D]]}}|TypeAdv3=true| What to use for the positive Y side.
|NegY|{{RootFieldType|AssetRef`1|[[Type:Texture2D|Texture2D]]}}|TypeAdv4=true|
|NegY|{{RootFieldType|AssetRef`1|[[Type:Texture2D|Texture2D]]}}|TypeAdv4=true| What to use for the negative Y side.
|PosZ|{{RootFieldType|AssetRef`1|[[Type:Texture2D|Texture2D]]}}|TypeAdv5=true|
|PosZ|{{RootFieldType|AssetRef`1|[[Type:Texture2D|Texture2D]]}}|TypeAdv5=true| What to use for the top side.
|NegZ|{{RootFieldType|AssetRef`1|[[Type:Texture2D|Texture2D]]}}|TypeAdv6=true|
|NegZ|{{RootFieldType|AssetRef`1|[[Type:Texture2D|Texture2D]]}}|TypeAdv6=true| What to use for the bottom side.
}}
}}


== Behavior ==
== Rotation ==
{{Table EnumValues
|0|0| Rotate 0 degrees
|90CW|1| Rotate 90 degrees clockwise
|180|2| Rotate 180 degrees
|90CCW|3| Rotate 90 degrees counter clockwise.
}}
 
== Usage ==
See [[Cubemap Creator]].


== Examples ==
== Examples ==
See [[Cubemap Creator]].


== See Also ==
== See Also ==
* [[Cubemap Creator]]


[[Category:Components:Wizards{{#translation:}}|Cubemap Creator]]
[[Category:Components:Wizards{{#translation:}}|Cubemap Creator]]
[[Category:Components{{#translation:}}|Cubemap Creator]]
[[Category:Components{{#translation:}}|Cubemap Creator]]
[[Category:Components With Nested Enums{{#translation:}}|Cubemap Creator]]
[[Category:Components With Nested Enums{{#translation:}}|Cubemap Creator]]
[[Category:ComponentStubs]]

Latest revision as of 23:09, 22 December 2024

Component image 
Cubemap Creator component as seen in the Scene Inspector

See Cubemap Creator.

Usage

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.
TopBottomRotation Rotation How to Rotate the top and bottom images to fit.
PosX Texture2D What to use for the positive X side.
NegX Texture2D What to use for the negative X side.
PosY Texture2D What to use for the positive Y side.
NegY Texture2D What to use for the negative Y side.
PosZ Texture2D What to use for the top side.
NegZ Texture2D What to use for the bottom side.

Rotation

Values
Name Value Description
0 0 Rotate 0 degrees
90CW 1 Rotate 90 degrees clockwise
180 2 Rotate 180 degrees
90CCW 3 Rotate 90 degrees counter clockwise.


Usage

See Cubemap Creator.

Examples

See Cubemap Creator.

See Also