Click or drag to resize

FastLineRenderer Fields

The FastLineRenderer type exposes the following members.

Fields
  NameDescription
Public fieldAnimationSpeed
Animation speed. Used for marching ants style animation.
Public fieldBoundsScale
Amount to scale the mesh by. If you aren't using GPU properties that modify position (i.e. turbulence, velocity and angular velocity) you can leave as 1. If you are using GPU properties, you will want to assign a value that is large enough to scale the mesh size so that vertices are visible for the lifetime of the lines.
Public fieldCamera
Camera. Defaults to main camera.
Public fieldEndCapScale
Scale for end caps.
Public fieldGlowAnimationSpeed
Glow animation speed. Used for marching ants style animation.
Public fieldGlowColor
Glow color. Applies globally in the Material rather than per vertex.
Public fieldGlowIntensityMultiplier
Glow itensity multiplier. Applies globally in the Material rather than per vertex. Set to 0 for no glow.
Public fieldGlowLengthMultiplier
Glow length multiplier. Applies globally in the Material rather than per vertex.
Public fieldGlowTexture
Glow texture
Public fieldGlowTextureEndCap
Glow texture - end cap
Public fieldGlowTextureRoundJoin
Glow texture - round join
Public fieldGlowTextureStartCap
Glow texture - start cap
Public fieldGlowUVXScale
Line glow UV X Scale. If not 1, Ensure your material glow texture is set to repeat. Applies globally in the Material rather than per vertex.
Public fieldGlowUVYScale
Line glow UV Y Scale. IF not 1, Ensure your material glow texture is set to repeat. Applies globally in the Material rather than per vertex.
Public fieldGlowWidthMultiplier
Glow width multiplier. Applies globally in the Material rather than per vertex.
Public fieldInitialLineGroups
Initial set of lines. Leave empty if you are generating your lines in script.
Public fieldJitterMultiplier
Jitter multiplier. Applies globally in the Material rather than per vertex.
Public fieldLineTexture
Line texture
Public fieldLineTextureEndCap
Line texture - end cap
Public fieldLineTextureRoundJoin
Line texture - round join
Public fieldLineTextureStartCap
Line texture - start cap
Public fieldLineUVXScale
Line UV X Scale. If not 1, Ensure your material texture is set to repeat. Applies globally in the Material rather than per vertex.
Public fieldLineUVYScale
Line UV Y Scale. If not 1, Ensure your material texture is set to repeat. Applies globally in the Material rather than per vertex.
Public fieldMaterial
Material to render the lines with (glow)
Public fieldMaterialNoGlow
Material to render the lines with (no glow)
Public fieldStatic memberMaxIndicesPerMesh
Maximum indices per mesh
Public fieldStatic memberMaxLinesPerMesh
Maximum number of lines (quads) per mesh
Public fieldStatic memberMaxVerticesPerMesh
Maximum vertices per mesh
Public fieldStatic memberQuadIndices
Contains indices that allow rendering quads with a mesh, using QuadUV* uv coordinates. Array is MaxIndicesPerMesh in size, allowing you to pull out that exact amount of indices you need into a new array. Unity really needs to provide index and count parameters to really optimize the use of this array.
Public fieldStatic memberQuadUV1
Quad UV1
Public fieldStatic memberQuadUV2
Quad UV2
Public fieldStatic memberQuadUV3
Quad UV3
Public fieldStatic memberQuadUV4
Quad UV4
Public fieldScreenRadiusMultiplier
Experimental, screen radius multiplier, attempts to make lines stay the same radius on screen using this multiplier
Public fieldSortLayerName
Sort layer
Public fieldSortOrderInLayer
Sort order in layer
Public fieldStartCapScale
Scale for start caps.
Public fieldTintColor
Tint color. Applies globally to all lines and is applied in addition to individual line colors.
Public fieldTurbulence
Turbulence. Requires lines to have LifeTime setup and works only at runtime. Applies globally in the Material rather than per vertex.
Public fieldUseWorldSpace
True to use world space, false to use local space. Default is local space. World space will orient at 0,0,0 in world space. Local space will orient at 0,0,0 relative to parent.
Public fieldStatic memberVerticesPerLine
Number of vertices per line / quad
Top
See Also