Struct HlslFloat2 | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Struct HlslFloat2

    Namespace: UnityEditor.Experimental.TerrainAPI
    Syntax
    public struct HlslFloat2

    Constructors

    HlslFloat2(Single, Single)

    The constructor for an HlslFloat2

    Declaration
    public HlslFloat2(float x, float y)
    Parameters
    Type Name Description
    System.Single x

    The GPU value of the x-component to be used for this HlslFloat2

    System.Single y

    The GPU value of the y-component to be used for this HlslFloat2

    Fields

    x

    The x-compenent for the HLSL float2

    Declaration
    public float x
    Field Value
    Type Description
    System.Single

    y

    The y-compenent for the HLSL float2

    Declaration
    public float y
    Field Value
    Type Description
    System.Single
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX