Vixen
02b45cc4
csharp
public struct CameraImpulseListener

Feels impulses. Put one on a shot that should be shaken by the world.

No guide page documents this yet — the page shows what the code says about itself.

As a scene component

Size
8 bytes — 819 rows in a 16 KB chunk, alone on the archetype

Remarks

Separate from CameraNoise because the two are unrelated: noise is a property of the operator holding the camera and is always there; an impulse is a property of the world and happens to it. A shot can have either, both or neither.

Fields and properties (3)

  • public float PositionGain

    How much of the displacement this camera takes. One is all of it.

  • public float RotationGain

    How far the camera swings, in radians per world unit of displacement, about the axis across the shove.

  • public static CameraImpulseListener Default

    A listener that takes the whole displacement and a modest swing with it.

Used by (6)

  • ComponentRegistrationVixen.Engine
  • TypeRegistrationVixen.Engine
  • VirtualCameraSystemVixen.Engine
  • VirtualCameraTestsVixen.Engine.Tests
  • Vixen_Engine_Cameras_CameraImpulseListenerSerializerVixen.Engine
  • MaterialIconsVixen.Editor.App