Version: 2022.1
언어: 한국어

Texture3D.GetPixelBilinear

매뉴얼로 전환
public Color GetPixelBilinear (float u, float v, float w, int mipLevel= 0);

파라미터

u U normalized coordinate to access a pixel.
v V normalized coordinate to access a pixel.
w W normalized coordinate to access a pixel.
mipLevel The mipmap level to be accessed.

반환

Color The colors to return by bilinear filtering.

설명

Returns the filtered pixel color that represents one mip level of the 3D texture at normalized coordinates (u,v,w).

Coordinates u, v, and w go from 0.0 to 1.0. Texture3D.GetPixelBilinear works in a similar way to Texture2D.GetPixelBilinear(), but with an extra w coordinate. Also, the bounds are expanded to width, height, and depth.

See Also: SetPixel, SetPixels, SetPixels32, GetPixel, GetPixels, GetPixels32, Apply functions.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961