ProtoFlux:Get Texture3D Pixel

From Resonite Wiki
Revision as of 20:23, 19 February 2024 by 989onan (talk | contribs) (Create Get Texture3D Pixel ProtoFlux Node Page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Get Texture 3D Pixel
Texture
*
Position
MipLevel
Assets


Get texture 3D pixel is a node that allows you to sample the pixel color of an 3 dimensional Texture that has readable enabled. Since the StaticTexture3D component needs to have readable enabled, most players opt to keep a component on the object that their code is on, and then change it's URL so they can read the image's pixels.

This node also takes a raw IAsset<Texture3D> instead of an asset provider. To extract the raw texture reference from the provider for use in this node, see the Get Asset Node.

Inputs

Texture (IAsset<Texture3D>)

The raw asset of an IAssetProvider<Texture3D> extracted using a Get Asset Node.

Position (Int3)

The Position to sample the colorX from.

MipLevel (Int)

The MipMap level of the provided image to sample from. Highest quality by default.

Outputs

* (colorX)

The ColorX color from the provided Texture (IAsset<Texture3D>) at the provided Position (Int3) with the provided quality MipLevel (Int).

Examples