docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct LineRendering.RendererData

    Container for parameters defining a renderable instance for the line rendering system.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
    Syntax
    [Serializable]
    public struct LineRendering.RendererData

    Fields

    Name Description
    distanceToCamera

    Distance to camera for sorting purposes.

    group

    Merging group for sorting between multiple renderer datas.

    hash

    Unique identifier for the renderer data.

    indexBuffer

    Handle to the line topology's index buffer resource.

    lineCount

    The number of lines in the mesh.

    lod

    Percentage of strands to render.

    lodBuffer

    Handle to a buffer for computing level of detail.

    lodMode

    Level of detail mode.

    material

    Material to draw the lines.

    matrixW

    World Matrix.

    matrixWP

    Previous World Matrix.

    mesh

    Mesh with line topology.

    motionVectorParams

    Motion vector parameters.

    offscreenShadingPass

    Offscreen shading pass index.

    probe

    Spherical harmonic coefficients for probe lighting.

    renderingLayerMask

    Rendering mask.

    segmentsPerLine

    The number of segments-per-line.

    shadingFraction

    Percentage of shading samples to compute.

    vertexSetupCompute

    Compute asset for computing the vertex shader in a compute shader.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)