docs.unity3d.com
    显示 / 隐藏目录

    Class BuiltinSkyParameters

    Parameters passed to sky rendering functions.

    Inheritance
    Object
    BuiltinSkyParameters
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    public class BuiltinSkyParameters

    Fields

    colorBuffer

    Color buffer used for rendering.

    Declaration
    public RTHandle colorBuffer
    Field Value
    Type Description
    RTHandle

    commandBuffer

    Command buffer used for rendering.

    Declaration
    public CommandBuffer commandBuffer
    Field Value
    Type Description
    CommandBuffer

    debugSettings

    Current debug dsplay settings.

    Declaration
    public DebugDisplaySettings debugSettings
    Field Value
    Type Description
    DebugDisplaySettings

    depthBuffer

    Depth buffer used for rendering.

    Declaration
    public RTHandle depthBuffer
    Field Value
    Type Description
    RTHandle

    frameIndex

    Current frame index.

    Declaration
    public int frameIndex
    Field Value
    Type Description
    Int32

    hdCamera

    Camera used for rendering.

    Declaration
    public HDCamera hdCamera
    Field Value
    Type Description
    HDCamera

    nullRT

    Null color buffer render target identifier.

    Declaration
    public static RenderTargetIdentifier nullRT
    Field Value
    Type Description
    RenderTargetIdentifier

    pixelCoordToViewDirMatrix

    Matrix mapping pixel coordinate to view direction.

    Declaration
    public Matrix4x4 pixelCoordToViewDirMatrix
    Field Value
    Type Description
    Matrix4x4

    screenSize

    Screen size: Width, height, inverse width, inverse height.

    Declaration
    public Vector4 screenSize
    Field Value
    Type Description
    Vector4

    skySettings

    Current sky settings.

    Declaration
    public SkySettings skySettings
    Field Value
    Type Description
    SkySettings

    sunLight

    Current sun light.

    Declaration
    public Light sunLight
    Field Value
    Type Description
    Light

    viewMatrix

    Camera view matrix.

    Declaration
    public Matrix4x4 viewMatrix
    Field Value
    Type Description
    Matrix4x4

    worldSpaceCameraPos

    World space camera position.

    Declaration
    public Vector3 worldSpaceCameraPos
    Field Value
    Type Description
    Vector3
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)