Component:Laser

From Resonite Wiki
Component image 
Laser component as seen in the Scene Inspector

The Laser component creates a simple red laser when attached that raycasts the enviroment.

When added to a slot the Laser component creates a MeshRenderer, a SegmentMesh, a RayDriver, and a red PBS RimMetallic.

Usage

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.
_material PBS_RimMetallic The material to use for the laser.
_rayDriver RayDriver The ray driver driving the generated segment mesh.
_meshRenderer MeshRenderer The mesh renderer rendering the segment mesh for this laser pointer type component.

Usage

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


See Also