VolumeMotionExtensions
Write a float tween's value to a render pipeline Volume's weight.
public static class VolumeMotionExtensionsRequires com.unity.render-pipelines.core
Members
BindToWeight
Assign each sampled float to the render pipeline Volume.weight.
public static MotionHandle BindToWeight(this FloatMotionBuilder builder, UnityEngine.Rendering.Volume volume)Parameters and return value
builderthis FloatMotionBuilderConfigured builder, passed as the receiver for extension calls.volumeUnityEngine.Rendering.VolumeTarget UnityEngine.Rendering.Volume that receives the update.- Returns
MotionHandle
public static MotionHandle BindToWeight<TOptions, TAdapter>(this MotionBuilder<float, TOptions, TAdapter> builder, UnityEngine.Rendering.Volume volume)
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.volumeUnityEngine.Rendering.VolumeTarget UnityEngine.Rendering.Volume that receives the update.- Returns
MotionHandle
MeatMotion