Struct MappedLightBGFX | Project Tiny | 0.32.0-preview.54
docs.unity.cn
    Show / Hide Table of Contents

    Struct MappedLightBGFX

    Namespace: Unity.Tiny.Rendering
    Syntax
    public struct MappedLightBGFX

    Fields

    color_invrangesqr

    Declaration
    public float4 color_invrangesqr
    Field Value
    Type Description
    float4

    mask

    Declaration
    public float4 mask
    Field Value
    Type Description
    float4

    projection

    Declaration
    public float4x4 projection
    Field Value
    Type Description
    float4x4

    shadowMap

    Declaration
    public bgfx.TextureHandle shadowMap
    Field Value
    Type Description
    bgfx.TextureHandle

    worldPosOrDir

    Declaration
    public float4 worldPosOrDir
    Field Value
    Type Description
    float4

    Methods

    Set(float4x4, float3, float4, Single, float4, bgfx.TextureHandle)

    Declaration
    public void Set(float4x4 m, float3 color, float4 _worldPosOrDir, float _range, float4 _mask, bgfx.TextureHandle _shadowMap)
    Parameters
    Type Name Description
    float4x4 m
    float3 color
    float4 _worldPosOrDir
    Single _range
    float4 _mask
    bgfx.TextureHandle _shadowMap
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Saturday, January 23, 2021