Struct HlslFloat3 | Terrain Tools | 3.0.2-preview.3
docs.unity3d.com
    Show / Hide Table of Contents

    Struct HlslFloat3

    Representation for an HLSL float3

    Namespace: UnityEditor.Experimental.TerrainAPI
    Syntax
    public struct HlslFloat3

    Constructors

    HlslFloat3(Single, Single, Single)

    The constructor for an HlslFloat3

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

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

    Single y

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

    Single z

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

    Fields

    x

    The x-compenent for the HLSL float3

    Declaration
    public float x
    Field Value
    Type Description
    Single

    y

    The y-compenent for the HLSL float3

    Declaration
    public float y
    Field Value
    Type Description
    Single

    z

    The z-compenent for the HLSL float3

    Declaration
    public float z
    Field Value
    Type Description
    Single
    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