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

    bounds

    Bounds of the renderer

    Declaration
    public Bounds bounds
    Field Value
    Type Description
    Bounds

    distanceToCamera

    Distance to camera for sorting purposes.

    Declaration
    public float distanceToCamera
    Field Value
    Type Description
    float

    group

    Merging group for sorting between multiple renderer datas.

    Declaration
    public LineRendering.RendererGroup group
    Field Value
    Type Description
    LineRendering.RendererGroup

    hash

    Unique identifier for the renderer data.

    Declaration
    public int hash
    Field Value
    Type Description
    int

    indexBuffer

    Handle to the line topology's index buffer resource.

    Declaration
    public BufferHandle indexBuffer
    Field Value
    Type Description
    BufferHandle

    lineCount

    The number of lines in the mesh.

    Declaration
    public int lineCount
    Field Value
    Type Description
    int

    lod

    Percentage of strands to render.

    Declaration
    public float lod
    Field Value
    Type Description
    float

    lodBuffer

    Handle to a buffer for computing level of detail.

    Declaration
    public BufferHandle lodBuffer
    Field Value
    Type Description
    BufferHandle

    lodMode

    Level of detail mode.

    Declaration
    public LineRendering.RendererLODMode lodMode
    Field Value
    Type Description
    LineRendering.RendererLODMode

    material

    Material to draw the lines.

    Declaration
    public Material material
    Field Value
    Type Description
    Material

    matrixW

    World Matrix.

    Declaration
    public Matrix4x4 matrixW
    Field Value
    Type Description
    Matrix4x4

    matrixWP

    Previous World Matrix.

    Declaration
    public Matrix4x4 matrixWP
    Field Value
    Type Description
    Matrix4x4

    mesh

    Mesh with line topology.

    Declaration
    public Mesh mesh
    Field Value
    Type Description
    Mesh

    motionVectorParams

    Motion vector parameters.

    Declaration
    public Vector4 motionVectorParams
    Field Value
    Type Description
    Vector4

    offscreenShadingPass

    Offscreen shading pass index.

    Declaration
    public int offscreenShadingPass
    Field Value
    Type Description
    int

    probe

    Spherical harmonic coefficients for probe lighting.

    Declaration
    public SphericalHarmonicsL2 probe
    Field Value
    Type Description
    SphericalHarmonicsL2

    renderingLayerMask

    Rendering mask.

    Declaration
    public uint renderingLayerMask
    Field Value
    Type Description
    uint

    segmentsPerLine

    The number of segments-per-line.

    Declaration
    public int segmentsPerLine
    Field Value
    Type Description
    int

    shadingFraction

    Percentage of shading samples to compute.

    Declaration
    public float shadingFraction
    Field Value
    Type Description
    float

    vertexSetupCompute

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

    Declaration
    public ComputeShader vertexSetupCompute
    Field Value
    Type Description
    ComputeShader
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)