Editar

Partilhar via


ParticleSystemLineRenderer Class

Definition

attaches a set of particles to the line

public ref class ParticleSystemLineRenderer : Microsoft::MixedReality::Toolkit::Utilities::BaseMixedRealityLineRenderer
[UnityEngine.AddComponentMenu("Scripts/MRTK/Core/ParticleSystemLineRenderer")]
[UnityEngine.RequireComponent(typeof(UnityEngine.ParticleSystem))]
public class ParticleSystemLineRenderer : Microsoft.MixedReality.Toolkit.Utilities.BaseMixedRealityLineRenderer
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Core/ParticleSystemLineRenderer")>]
[<UnityEngine.RequireComponent(typeof(UnityEngine.ParticleSystem))>]
type ParticleSystemLineRenderer = class
    inherit BaseMixedRealityLineRenderer
Public Class ParticleSystemLineRenderer
Inherits BaseMixedRealityLineRenderer
Inheritance
UnityEngine.MonoBehaviour
ParticleSystemLineRenderer
Attributes
UnityEngine.AddComponentMenuAttribute UnityEngine.RequireComponentAttribute

Constructors

ParticleSystemLineRenderer()

Fields

lineDataSource (Inherited from BaseMixedRealityLineRenderer)

Properties

ColorOffset

Normalized offset for color gradient

(Inherited from BaseMixedRealityLineRenderer)
DecayGradient
LifetimeAfterDisabled
LineColor

Color gradient applied to line's normalized length

(Inherited from BaseMixedRealityLineRenderer)
LineDataSource

The data provider component that provides the positioning source information for the LineRenderer.

(Inherited from BaseMixedRealityLineRenderer)
LineMaterial
LineStepCount

Number of steps to interpolate along line in Interpolated step mode

(Inherited from BaseMixedRealityLineRenderer)
LineWidth (Inherited from BaseMixedRealityLineRenderer)
MainParticleRenderer
MaxParticles
NoiseFrequency
NoiseOcatives
NoiseSpeed
NoiseStrength
ParticleNoiseOnDisabled
PointDistributionMode

Method for distributing rendered points along line.

(Inherited from BaseMixedRealityLineRenderer)
StepMode

Method for gathering points along line. Interpolated uses normalized length. FromSource uses line's base points. (FromSource may not look right for all LineDataProvider types.)

(Inherited from BaseMixedRealityLineRenderer)
WidthMultiplier (Inherited from BaseMixedRealityLineRenderer)
WidthOffset

Normalized offset for width curve

(Inherited from BaseMixedRealityLineRenderer)

Methods

GetColor(Single)

Get the Color along the normalized length of the line.

(Inherited from BaseMixedRealityLineRenderer)
GetNormalizedPointAlongLine(Int32)

Gets the normalized distance along the line path (range 0 to 1) going the given number of steps provided

(Inherited from BaseMixedRealityLineRenderer)
GetWidth(Single)

Get the width of the line along the normalized length of the line.

(Inherited from BaseMixedRealityLineRenderer)
OnDrawGizmos() (Inherited from BaseMixedRealityLineRenderer)
UpdateLine()

Executes every Unity LateUpdate(). Any property updates or frame updates should occur here to update the line data source.

Applies to