CameraMotionExtensions
Animate camera settings such as field of view, clipping planes, background color and viewport.
public static class CameraMotionExtensionsRenderingMotionExtensions.cs · L12Members
- BindToAspect
- BindToNearClipPlane
- BindToFarClipPlane
- BindToFieldOfView
- BindToOrthographicSize
- BindToRect
- BindToPixelRect
- BindToBackgroundColor
BindToAspect
Schedule a tween that writes the interpolated value to Aspect on the bound target and return its MotionHandle.
public static MotionHandle BindToAspect(this FloatMotionBuilder builder, Camera camera)Parameters and return value
builderthis FloatMotionBuilderConfigured builder, passed as the receiver for extension calls.cameraCameraTarget Camera that receives the update.- Returns
MotionHandle
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
builderthis MotionBuilder<float, TOptions, TAdapter>Configured builder, passed as the receiver for extension calls.cameraCameraTarget Camera that receives the update.- Returns
MotionHandle
BindToNearClipPlane
Schedule a tween that writes the interpolated value to NearClipPlane on the bound target and return its MotionHandle.
public static MotionHandle BindToNearClipPlane(this FloatMotionBuilder builder, Camera camera)Parameters and return value
builderthis FloatMotionBuilderConfigured builder, passed as the receiver for extension calls.cameraCameraTarget Camera that receives the update.- Returns
MotionHandle
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
builderthis MotionBuilder<float, TOptions, TAdapter>Configured builder, passed as the receiver for extension calls.cameraCameraTarget Camera that receives the update.- Returns
MotionHandle
BindToFarClipPlane
Schedule a tween that writes the interpolated value to FarClipPlane on the bound target and return its MotionHandle.
public static MotionHandle BindToFarClipPlane(this FloatMotionBuilder builder, Camera camera)Parameters and return value
builderthis FloatMotionBuilderConfigured builder, passed as the receiver for extension calls.cameraCameraTarget Camera that receives the update.- Returns
MotionHandle
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
builderthis MotionBuilder<float, TOptions, TAdapter>Configured builder, passed as the receiver for extension calls.cameraCameraTarget Camera that receives the update.- Returns
MotionHandle
BindToFieldOfView
Schedule a tween that writes the interpolated value to FieldOfView on the bound target and return its MotionHandle.
public static MotionHandle BindToFieldOfView(this FloatMotionBuilder builder, Camera camera)Parameters and return value
builderthis FloatMotionBuilderConfigured builder, passed as the receiver for extension calls.cameraCameraTarget Camera that receives the update.- Returns
MotionHandle
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
builderthis MotionBuilder<float, TOptions, TAdapter>Configured builder, passed as the receiver for extension calls.cameraCameraTarget Camera that receives the update.- Returns
MotionHandle
BindToOrthographicSize
Schedule a tween that writes the interpolated value to OrthographicSize on the bound target and return its MotionHandle.
public static MotionHandle BindToOrthographicSize(this FloatMotionBuilder builder, Camera camera)Parameters and return value
builderthis FloatMotionBuilderConfigured builder, passed as the receiver for extension calls.cameraCameraTarget Camera that receives the update.- Returns
MotionHandle
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
builderthis MotionBuilder<float, TOptions, TAdapter>Configured builder, passed as the receiver for extension calls.cameraCameraTarget Camera that receives the update.- Returns
MotionHandle
BindToRect
Schedule a tween that writes the interpolated value to Rect on the bound target and return its MotionHandle.
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
builderthis MotionBuilder<Rect, TOptions, TAdapter>Configured builder, passed as the receiver for extension calls.cameraCameraTarget Camera that receives the update.- Returns
MotionHandle
BindToPixelRect
Schedule a tween that writes the interpolated value to PixelRect on the bound target and return its MotionHandle.
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
builderthis MotionBuilder<Rect, TOptions, TAdapter>Configured builder, passed as the receiver for extension calls.cameraCameraTarget Camera that receives the update.- Returns
MotionHandle
BindToBackgroundColor
Schedule a tween that writes the interpolated value to BackgroundColor on the bound target and return its MotionHandle.
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
builderthis MotionBuilder<Color, TOptions, TAdapter>Configured builder, passed as the receiver for extension calls.cameraCameraTarget Camera that receives the update.- Returns
MotionHandle
MeatMotion