Component:LegacyRendererSwitcher

From Resonite Wiki
Component image 
File:LegacyRendererSwitcherComponent.png
Legacy Renderer Switcher component as seen in the Scene Inspector

The LegacyRendererSwitcher component is used to switch between different rendering types depending on meshes.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
ParticleMesh direct RelayRef`1<AssetRef`1<Mesh>> The particle mesh object when not null will use MeshRenderer for the renderer.
BillboardRenderer BillboardParticleRenderer Can be switched to in order to render the particles as squares.
MeshRenderer MeshParticleRenderer Can be switched to in order to render the particles as meshes.
RendererDrive direct RefDrive`1<IParticleRenderer> Drives the target field with BillboardRenderer or MeshRenderer depending on if ParticleMesh is null.

See Also