Vixen
02b45cc4
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 (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