FastLineRenderer Fields |
The FastLineRenderer type exposes the following members.
Name | Description | |
---|---|---|
AnimationSpeed |
Animation speed. Used for marching ants style animation.
| |
BoundsScale |
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.
| |
Camera |
Camera. Defaults to main camera.
| |
EndCapScale |
Scale for end caps.
| |
GlowAnimationSpeed |
Glow animation speed. Used for marching ants style animation.
| |
GlowColor |
Glow color. Applies globally in the Material rather than per vertex.
| |
GlowIntensityMultiplier |
Glow itensity multiplier. Applies globally in the Material rather than per vertex. Set to 0 for no glow.
| |
GlowLengthMultiplier |
Glow length multiplier. Applies globally in the Material rather than per vertex.
| |
GlowTexture |
Glow texture
| |
GlowTextureEndCap |
Glow texture - end cap
| |
GlowTextureRoundJoin |
Glow texture - round join
| |
GlowTextureStartCap |
Glow texture - start cap
| |
GlowUVXScale |
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.
| |
GlowUVYScale |
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.
| |
GlowWidthMultiplier |
Glow width multiplier. Applies globally in the Material rather than per vertex.
| |
InitialLineGroups |
Initial set of lines. Leave empty if you are generating your lines in script.
| |
JitterMultiplier |
Jitter multiplier. Applies globally in the Material rather than per vertex.
| |
LineTexture |
Line texture
| |
LineTextureEndCap |
Line texture - end cap
| |
LineTextureRoundJoin |
Line texture - round join
| |
LineTextureStartCap |
Line texture - start cap
| |
LineUVXScale |
Line UV X Scale. If not 1, Ensure your material texture is set to repeat. Applies globally in the Material rather than per vertex.
| |
LineUVYScale |
Line UV Y Scale. If not 1, Ensure your material texture is set to repeat. Applies globally in the Material rather than per vertex.
| |
Material |
Material to render the lines with (glow)
| |
MaterialNoGlow |
Material to render the lines with (no glow)
| |
MaxIndicesPerMesh |
Maximum indices per mesh
| |
MaxLinesPerMesh |
Maximum number of lines (quads) per mesh
| |
MaxVerticesPerMesh |
Maximum vertices per mesh
| |
QuadIndices |
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.
| |
QuadUV1 |
Quad UV1
| |
QuadUV2 |
Quad UV2
| |
QuadUV3 |
Quad UV3
| |
QuadUV4 |
Quad UV4
| |
ScreenRadiusMultiplier |
Experimental, screen radius multiplier, attempts to make lines stay the same radius on screen using this multiplier
| |
SortLayerName |
Sort layer
| |
SortOrderInLayer |
Sort order in layer
| |
StartCapScale |
Scale for start caps.
| |
TintColor |
Tint color. Applies globally to all lines and is applied in addition to individual line colors.
| |
Turbulence |
Turbulence. Requires lines to have LifeTime setup and works only at runtime. Applies globally in the Material rather than per vertex.
| |
UseWorldSpace |
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.
| |
VerticesPerLine |
Number of vertices per line / quad
|