csharp
public struct CameraImpulseListenerFeels 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 PositionGainHow much of the displacement this camera takes. One is all of it.
public float RotationGainHow far the camera swings, in radians per world unit of displacement, about the axis across the shove.
public static CameraImpulseListener DefaultA 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