csharp
public enum LightKindThe five kinds of light one record can be.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The same five LightKind in Raven/Library/Shading/Lighting.rvn, and the values must agree: the shader compares the record's kind against its own constants, so a renumbering here that is not made there turns every spot light into a point light and nothing reports it.
Fields and properties (5)
DirectionalThe sun: a direction and no position.
PointA position, radiating in every direction.
SpotA position and a cone.
TubeA capsule: a segment with a radius. A fluorescent tube, a strip light.
RectA one-sided rectangle. A softbox, a window, a screen.
Used by (30)
- ArenaThirdPersonShooter
- ClusterCullingDeviceTestsVixen.Graphics.Golden.Tests
- ForwardLightingRenderFeatureVixen.Rendering
- ForwardLightingTestsVixen.Rendering.Tests
- LightVixen.Rendering
- LightExtractionSystemVixen.Rendering
- LightExtractionTestsVixen.Rendering.Tests
- LightsVixen.Rendering
- ParticleLightTestsVixen.Rendering.Tests
- ParticleLightsVixen.Rendering
- PhotometryVixen.Rendering
- PhotometryTestsVixen.Rendering.Tests
- PunctualShadowRendererVixen.Rendering
- PunctualShadowTestsVixen.Rendering.Tests
- RenderLightVixen.Rendering
- ShadowProjectionsVixen.Rendering
- TypeRegistrationVixen.Rendering
- Vixen_Rendering_Ecs_LightSerializerVixen.Rendering
- ComponentTestsVixen.Editor.App.Tests
- ComponentsViewVixen.Editor.App
- CreateMenuTestsVixen.Editor.App.Tests
- EditorAffordanceTestsVixen.Editor.App.Tests
- EditorApplicationVixen.Editor.App
- IconContributionTestsVixen.Editor.App.Tests
- LightTestsVixen.Editor.SceneView.Tests
- SceneDocumentVixen.Editor.SceneView
- SceneFormatMigrationTestsVixen.Editor.SceneView.Tests
- SceneLinesVixen.Editor.SceneView
- SceneRenderComponentTestsVixen.Editor.Assets.Tests
- SceneSerializerVixen.Editor.SceneView