Component:GradientStripTexture

From Resonite Wiki
This page contains changes which are not marked for translation.
Component image 
Gradient Strip Texture component as seen in the Scene Inspector

The GradientStripTexture is a component that generates a texture with a gradient defined by Gradient

Fields

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.
HighPriorityIntegration Bool If true, integrating this asset (e.g. processing procedural assets) gets higher priority than assets with this flag off. An example is user laser procedural meshes.
FilterMode TextureFilterMode How to handle the interpolation between pixels.
AnisotropicLevel Int The levels of Anisotropic filtering distances when using Anisotropic for FilterMode
WrapModeU TextureWrapMode How to repeat or mirror the texture along the X axis. this goes into affect when X values are outside of the range [0.0 to 1.0].
WrapModeV TextureWrapMode How to repeat or mirror the texture along the Y axis. this goes into affect when Y values are outside of the range [0.0 to 1.0].
MipmapBias Float Whether to see lower resolution versions of the texture closer up or not (MipMaps).
Profile ColorProfile The color profile to use for this texture's rendering.
Size Int2 The size of the procedural texture in pixels.
Mipmaps Bool Whether to enable the rendering of mipmaps, which are lower res textures at further distances from the camera to improve performance.
Format TextureFormat TextureFormat describes how Texture's pixel are stored in the VRAM.
Gradient direct SyncLinear`1<ColorX> A list of gradients that this texture uses to generate the final result. This requires Mods to edit.
Exp Float The sharpness of the transition between each Gradient
_orientation StripOrientation The direction to generate the gradient strip towards

Sync Delegates

Triggers
Method Name Method type and Arguments. Description
BakeTexture() Action BakeTexture first generates a Component:StaticTexture2D that is the same as this procedural texture. The resulting static texture replaces every reference to the original procedural texture. Lastly the original procedural texture is deleted.

StripOrientation

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Fields
Name Type Description


Usage

Attach to a slot and then insert into a material to view the data. This component currently cannot be used properly until collections are implemented or the user installs Mods.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


See Also