Class DecalLayer | MARS | 1.0.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class DecalLayer

    Inheritance
    Object
    DecalLayer
    Namespace: Unity.MARS
    Syntax
    [Serializable]
    public class DecalLayer

    Constructors

    DecalLayer()

    Declaration
    public DecalLayer()

    DecalLayer(Material, Texture, BlendMode, Vector2, Vector2)

    Declaration
    public DecalLayer(Material materialInstance, Texture texture, BlendMode blendMode, Vector2 transformPositionOffset, Vector2 size)
    Parameters
    Type Name Description
    Material materialInstance
    Texture texture
    BlendMode blendMode
    Vector2 transformPositionOffset
    Vector2 size

    Fields

    blendMode

    Declaration
    public BlendMode blendMode
    Field Value
    Type Description
    BlendMode

    lastDecalChanges

    Declaration
    public DecalLayer lastDecalChanges
    Field Value
    Type Description
    DecalLayer

    materialInstance

    Declaration
    public Material materialInstance
    Field Value
    Type Description
    Material

    size

    Declaration
    public Vector2 size
    Field Value
    Type Description
    Vector2

    texture

    Declaration
    public Texture texture
    Field Value
    Type Description
    Texture

    transformPositionOffset

    Declaration
    public Vector2 transformPositionOffset
    Field Value
    Type Description
    Vector2
    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