Component:CubemapCreator: Difference between revisions

From Resonite Wiki
→‎Rotation: fix table
→‎Rotation: WRONG past me!!!
 
Line 18: Line 18:
== Rotation ==
== Rotation ==
{{Table EnumValues
{{Table EnumValues
|0|0| Rotate 0 degrees
|Default|0| Rotate 0 degrees.
|90CW|1| Rotate 90 degrees clockwise
|Rotate90CW|1| Rotate 90 degrees clockwise.
|180|2| Rotate 180 degrees
|Rotate90CCW|2| Rotate 90 degrees counter clockwise.
|90CCW|3| Rotate 90 degrees counter clockwise.
|Rotate180|3| Rotate 180 degrees.
}}
}}



Latest revision as of 18:56, 11 January 2025

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. Some components stop their functionality when this field is disabled, but some don't.
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
Default 0 Rotate 0 degrees.
Rotate90CW 1 Rotate 90 degrees clockwise.
Rotate90CCW 2 Rotate 90 degrees counter clockwise.
Rotate180 3 Rotate 180 degrees.

Usage

See Cubemap Creator.

Examples

See Cubemap Creator.

See Also