# CameraMotionExtensions

Animate camera settings such as field of view, clipping planes, background color and viewport.

Namespace: MeatMotion.Extensions

Assembly: MeatMotion

```csharp
public static class CameraMotionExtensions
```

[Runtime/Bindings/Rendering/RenderingMotionExtensions.cs · L12](../../../source/Runtime/Bindings/Rendering/RenderingMotionExtensions.cs.html#L12)

## BindToAspect

Schedule a tween that writes the interpolated value to Aspect on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToAspect(this FloatMotionBuilder builder, Camera camera)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `camera` (`Camera`) Target Camera that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/Rendering/RenderingMotionExtensions.cs · L14](../../../source/Runtime/Bindings/Rendering/RenderingMotionExtensions.cs.html#L14)

```csharp
public static MotionHandle BindToAspect<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, Camera camera)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `camera` (`Camera`) Target Camera that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/Rendering/RenderingMotionExtensions.cs · L17](../../../source/Runtime/Bindings/Rendering/RenderingMotionExtensions.cs.html#L17)

## BindToNearClipPlane

Schedule a tween that writes the interpolated value to NearClipPlane on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToNearClipPlane(this FloatMotionBuilder builder, Camera camera)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `camera` (`Camera`) Target Camera that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/Rendering/RenderingMotionExtensions.cs · L22](../../../source/Runtime/Bindings/Rendering/RenderingMotionExtensions.cs.html#L22)

```csharp
public static MotionHandle BindToNearClipPlane<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, Camera camera)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `camera` (`Camera`) Target Camera that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/Rendering/RenderingMotionExtensions.cs · L25](../../../source/Runtime/Bindings/Rendering/RenderingMotionExtensions.cs.html#L25)

## BindToFarClipPlane

Schedule a tween that writes the interpolated value to FarClipPlane on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToFarClipPlane(this FloatMotionBuilder builder, Camera camera)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `camera` (`Camera`) Target Camera that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/Rendering/RenderingMotionExtensions.cs · L30](../../../source/Runtime/Bindings/Rendering/RenderingMotionExtensions.cs.html#L30)

```csharp
public static MotionHandle BindToFarClipPlane<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, Camera camera)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `camera` (`Camera`) Target Camera that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/Rendering/RenderingMotionExtensions.cs · L33](../../../source/Runtime/Bindings/Rendering/RenderingMotionExtensions.cs.html#L33)

## BindToFieldOfView

Schedule a tween that writes the interpolated value to FieldOfView on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToFieldOfView(this FloatMotionBuilder builder, Camera camera)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `camera` (`Camera`) Target Camera that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/Rendering/RenderingMotionExtensions.cs · L38](../../../source/Runtime/Bindings/Rendering/RenderingMotionExtensions.cs.html#L38)

```csharp
public static MotionHandle BindToFieldOfView<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, Camera camera)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `camera` (`Camera`) Target Camera that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/Rendering/RenderingMotionExtensions.cs · L41](../../../source/Runtime/Bindings/Rendering/RenderingMotionExtensions.cs.html#L41)

## BindToOrthographicSize

Schedule a tween that writes the interpolated value to OrthographicSize on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToOrthographicSize(this FloatMotionBuilder builder, Camera camera)
```

Parameters and return value

- `builder` (`this FloatMotionBuilder`) Configured builder, passed as the receiver for extension calls.
- `camera` (`Camera`) Target Camera that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/Rendering/RenderingMotionExtensions.cs · L46](../../../source/Runtime/Bindings/Rendering/RenderingMotionExtensions.cs.html#L46)

```csharp
public static MotionHandle BindToOrthographicSize<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, Camera camera)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<float, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<float, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `camera` (`Camera`) Target Camera that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/Rendering/RenderingMotionExtensions.cs · L49](../../../source/Runtime/Bindings/Rendering/RenderingMotionExtensions.cs.html#L49)

## BindToRect

Schedule a tween that writes the interpolated value to Rect on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToRect<TOptions, TAdapter>(this MotionBuilder<Rect, TOptions, TAdapter> builder, Camera camera)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Rect, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<Rect, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `camera` (`Camera`) Target Camera that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/Rendering/RenderingMotionExtensions.cs · L54](../../../source/Runtime/Bindings/Rendering/RenderingMotionExtensions.cs.html#L54)

## BindToPixelRect

Schedule a tween that writes the interpolated value to PixelRect on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToPixelRect<TOptions, TAdapter>(this MotionBuilder<Rect, TOptions, TAdapter> builder, Camera camera)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Rect, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<Rect, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `camera` (`Camera`) Target Camera that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/Rendering/RenderingMotionExtensions.cs · L59](../../../source/Runtime/Bindings/Rendering/RenderingMotionExtensions.cs.html#L59)

## BindToBackgroundColor

Schedule a tween that writes the interpolated value to BackgroundColor on the bound target and return its MotionHandle.

```csharp
public static MotionHandle BindToBackgroundColor<TOptions, TAdapter>(this MotionBuilder<Color, TOptions, TAdapter> builder, Camera camera)
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<Color, TOptions>
```

Parameters and return value

- `builder` (`this MotionBuilder<Color, TOptions, TAdapter>`) Configured builder, passed as the receiver for extension calls.
- `camera` (`Camera`) Target Camera that receives the update.
- Returns: `MotionHandle`

[Runtime/Bindings/Rendering/RenderingMotionExtensions.cs · L64](../../../source/Runtime/Bindings/Rendering/RenderingMotionExtensions.cs.html#L64)
