Automated: update component fields |
add info |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:1--> | <!--T:1--> | ||
{{Infobox Component | {{Infobox Component | ||
|Image=StaticCubemapComponent.png | |Image=StaticCubemapComponent.png | ||
|Name=Static Cubemap | |Name=Static Cubemap | ||
}} | }} | ||
The '''StaticCubemap''' is a component that is used to store data for a 6 sided texture for use with skyboxes. | |||
<!--T:2--> | <!--T:2--> | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|URL|Uri| | |URL|Uri| The Asset URI that references the raw texture data | ||
|FilterMode|TextureFilterMode| | |FilterMode|TextureFilterMode| {{Template:Texture FilterMode Field}} | ||
|AnisotropicLevel|Int| | |AnisotropicLevel|Int| {{Template:Texture AnisotropicLevel Field}} | ||
|Uncompressed|Bool| | |Uncompressed|Bool| Do not use texture compression | ||
|DirectLoad|Bool| | |DirectLoad|Bool| Whether to load the image directly from it's URI source and to not cache it locally. | ||
|ForceExactVariant|Bool| | |ForceExactVariant|Bool| Only allow one variant of the texture to exist, part of [[Asset Variant|Asset Variant System]]. | ||
|PreferredFormat|[[Type:Nullable`1|Nullable`1]]<[[Type:TextureCompression|TextureCompression]]>|TypeAdv6=true| | |PreferredFormat|'''[[Type:Nullable`1|Nullable`1]]<[[Type:TextureCompression|TextureCompression]]>'''|TypeAdv6=true| The format to use for texture compression rather than the auto picked one | ||
|PreferredProfile|[[Type:Nullable`1|Nullable`1]]<[[Type:ColorProfile|ColorProfile]]>|TypeAdv7=true| | |PreferredProfile|'''[[Type:Nullable`1|Nullable`1]]<[[Type:ColorProfile|ColorProfile]]>'''|TypeAdv7=true| The color profile to use rather than the auto picked one. (usually linear) | ||
|MipMapBias|Float| | |MipMapBias|Float| {{Template:Texture MipmapBias Field}} | ||
|MaxSize|[[Type:Nullable`1|Nullable`1]]<[[Type:Int|Int]]>|TypeAdv9=true| | |MaxSize|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Int|Int]]>'''|TypeAdv9=true| The maxiumum size to show to the user, which scaled versions are generated by the cloud on the fly from the original and sent as part of the [[Asset Variant|Asset Variant System]] | ||
}} | }} | ||
<!--T:3--> | <!--T:3--> | ||
== Usage == | == Usage == | ||
Attach to a slot and insert into a [[Component:Projection360Material]] to view what it would look like as a skybox. | |||
<!--T:4--> | <!--T:4--> | ||
== Examples == | == Examples == | ||
{{stub}} | |||
<!--T:5--> | <!--T:5--> | ||
== Related Components == | == Related Components == | ||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|Static Cubemap]] | [[Category:Components{{#translation:}}|Static Cubemap]] | ||
[[Category:Components:Assets{{#translation:}}|Static Cubemap]] | [[Category:Components:Assets{{#translation:}}|Static Cubemap]] |
Latest revision as of 17:35, 19 November 2024
Component image
The StaticCubemap is a component that is used to store data for a 6 sided texture for use with skyboxes.
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. |
URL
|
Uri | The Asset URI that references the raw texture data |
FilterMode
|
TextureFilterMode | How to handle the interpolation between pixels. |
AnisotropicLevel
|
Int | The levels of Anisotropic filtering distances when using Anisotropic for FilterMode
|
Uncompressed
|
Bool | Do not use texture compression |
DirectLoad
|
Bool | Whether to load the image directly from it's URI source and to not cache it locally. |
ForceExactVariant
|
Bool | Only allow one variant of the texture to exist, part of Asset Variant System. |
PreferredFormat
|
Nullable`1<TextureCompression> | The format to use for texture compression rather than the auto picked one |
PreferredProfile
|
Nullable`1<ColorProfile> | The color profile to use rather than the auto picked one. (usually linear) |
MipMapBias
|
Float | Whether to see lower resolution versions of the texture closer up or not (MipMaps). |
MaxSize
|
Nullable`1<Int> | The maxiumum size to show to the user, which scaled versions are generated by the cloud on the fly from the original and sent as part of the Asset Variant System |
Usage
Attach to a slot and insert into a Component:Projection360Material to view what it would look like as a skybox.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.