Struct LitMaterial | Project Tiny Rendering | 0.24.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Struct LitMaterial

    Namespace: Unity.Tiny.Rendering
    Syntax
    public struct LitMaterial : IComponentData, IEquatable<LitMaterial>

    Fields

    constAlbedo

    Declaration
    public float3 constAlbedo
    Field Value
    Type Description
    float3

    constEmissive

    Declaration
    public float3 constEmissive
    Field Value
    Type Description
    float3

    constMetal

    Declaration
    public float constMetal
    Field Value
    Type Description
    Single

    constOpacity

    Declaration
    public float constOpacity
    Field Value
    Type Description
    Single

    constSmoothness

    Declaration
    public float constSmoothness
    Field Value
    Type Description
    Single

    normalMapZScale

    Declaration
    public float normalMapZScale
    Field Value
    Type Description
    Single

    offset

    Declaration
    public float2 offset
    Field Value
    Type Description
    float2

    scale

    Declaration
    public float2 scale
    Field Value
    Type Description
    float2

    smoothnessAlbedoAlpha

    Declaration
    public bool smoothnessAlbedoAlpha
    Field Value
    Type Description
    Boolean

    texAlbedoOpacity

    Declaration
    public Entity texAlbedoOpacity
    Field Value
    Type Description
    Entity

    texEmissive

    Declaration
    public Entity texEmissive
    Field Value
    Type Description
    Entity

    texMetal

    Declaration
    public Entity texMetal
    Field Value
    Type Description
    Entity

    texNormal

    Declaration
    public Entity texNormal
    Field Value
    Type Description
    Entity

    transparent

    Declaration
    public bool transparent
    Field Value
    Type Description
    Boolean

    triangleSortTransparent

    Declaration
    public bool triangleSortTransparent
    Field Value
    Type Description
    Boolean

    twoSided

    Declaration
    public bool twoSided
    Field Value
    Type Description
    Boolean

    Methods

    Equals(LitMaterial)

    Declaration
    public bool Equals(LitMaterial other)
    Parameters
    Type Name Description
    LitMaterial other
    Returns
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023