Vixen
dd8b0a81
csharp
public enum LightKind

The 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)

  • Directional

    The sun: a direction and no position.

  • Point

    A position, radiating in every direction.

  • Spot

    A position and a cone.

  • Tube

    A capsule: a segment with a radius. A fluorescent tube, a strip light.

  • Rect

    A one-sided rectangle. A softbox, a window, a screen.

Used by (44, showing 40)

  • ArenaThirdPersonShooter
  • PbrShowcaseGamePbrShowcase
  • ClusterCullingDeviceTestsVixen.Graphics.Golden.Tests
  • DefaultLightTestsVixen.Rendering.Tests
  • ForwardLightingRenderFeatureVixen.Rendering
  • ForwardLightingTestsVixen.Rendering.Tests
  • LightVixen.Rendering
  • LightExtractionSystemVixen.Rendering
  • LightExtractionTestsVixen.Rendering.Tests
  • LightsVixen.Rendering
  • ParticleLightFeatureTestsVixen.Rendering.Tests
  • ParticleLightTestsVixen.Rendering.Tests
  • ParticleLightsVixen.Rendering
  • PhotometryVixen.Rendering
  • PhotometryTestsVixen.Rendering.Tests
  • PostEffectTestsVixen.Rendering.PostFx.Tests
  • PunctualShadowRendererVixen.Rendering
  • PunctualShadowTestsVixen.Rendering.Tests
  • RenderLightVixen.Rendering
  • ShadowCacheTestsVixen.Rendering.Tests
  • ShadowProjectionsVixen.Rendering
  • SunlightVixen.Rendering.Tests
  • TileKeyVixen.Rendering
  • TypeRegistrationVixen.Rendering
  • VfxExtractionTestsVixen.Rendering.Tests
  • VirtualShadowRendererTestsVixen.Rendering.Tests
  • Vixen_Rendering_Ecs_LightSerializerVixen.Rendering
  • VolumetricFogIntegrationTestsVixen.Rendering.PostFx.Tests
  • ComponentTestsVixen.Editor.App.Tests
  • ComponentsViewDumpTestsVixen.Editor.App.Tests
  • CreateMenuTestsVixen.Editor.App.Tests
  • EditorAffordanceTestsVixen.Editor.App.Tests
  • EditorApplicationVixen.Editor.App
  • EditorWorldRendererTestsVixen.Editor.App.Tests
  • IconContributionTestsVixen.Editor.App.Tests
  • LightTestsVixen.Editor.SceneView.Tests
  • PrefabInspectorTestsVixen.Editor.AssetEditors.Tests
  • PrefabPlacementTestsVixen.Editor.AssetEditors.Tests
  • PrefabSerializationTestsVixen.Editor.SceneView.Tests
  • SceneDocumentVixen.Editor.SceneView