Struct HlslFloat4 | Terrain Tools | 3.0.2-preview.3
docs.unity.cn
    Show / Hide Table of Contents

    Struct HlslFloat4

    Representation for an HLSL float4

    Namespace: UnityEditor.Experimental.TerrainAPI
    Syntax
    public struct HlslFloat4

    Constructors

    HlslFloat4(Single, Single, Single, Single)

    The constructor for an HlslFloat4

    Declaration
    public HlslFloat4(float x, float y, float z, float w)
    Parameters
    Type Name Description
    Single x

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

    Single y

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

    Single z

    The GPU value of the z-component to be used for this HlslFloat4

    Single w

    The GPU value of the w-component to be used for this HlslFloat4

    Fields

    w

    The w-compenent for the HLSL float4

    Declaration
    public float w
    Field Value
    Type Description
    Single

    x

    The x-compenent for the HLSL float4

    Declaration
    public float x
    Field Value
    Type Description
    Single

    y

    The y-compenent for the HLSL float4

    Declaration
    public float y
    Field Value
    Type Description
    Single

    z

    The z-compenent for the HLSL float4

    Declaration
    public float z
    Field Value
    Type Description
    Single
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 10 November 2020