docs.unity3d.com
    目次を表示する/隠す

    Class ClampedIntParameter

    A VolumeParameter that holds an int value clamped between a minimum and a maximum value.

    Inheritance
    Object
    VolumeParameter
    VolumeParameter<Int32>
    IntParameter
    ClampedIntParameter
    Inherited Members
    IntParameter.Interp(Int32, Int32, Single)
    VolumeParameter<Int32>.m_Value
    VolumeParameter<Int32>.Override(Int32)
    VolumeParameter<Int32>.SetValue(VolumeParameter)
    VolumeParameter<Int32>.GetHashCode()
    VolumeParameter<Int32>.ToString()
    VolumeParameter<Int32>.Equals(VolumeParameter<Int32>)
    VolumeParameter<Int32>.Equals(Object)
    VolumeParameter.k_DebuggerDisplay
    VolumeParameter.m_OverrideState
    VolumeParameter.overrideState
    VolumeParameter.GetValue<T>()
    VolumeParameter.OnEnable()
    VolumeParameter.OnDisable()
    VolumeParameter.IsObjectParameter(Type)
    VolumeParameter.Release()
    Namespace: UnityEngine.Rendering
    Syntax
    public class ClampedIntParameter : IntParameter, IEquatable<VolumeParameter<int>>

    Constructors

    ClampedIntParameter(Int32, Int32, Int32, Boolean)

    Creates a new ClampedIntParameter instance.

    Declaration
    public ClampedIntParameter(int value, int min, int max, bool overrideState = false)
    Parameters
    Type Name Description
    Int32 value

    The initial value to store in the parameter.

    Int32 min

    The minimum value to clamp the parameter to

    Int32 max

    The maximum value to clamp the parameter to.

    Boolean overrideState

    The initial override state for the parameter.

    Fields

    max

    The maximum value to clamp this parameter to.

    Declaration
    public int max
    Field Value
    Type Description
    Int32

    min

    The minimum value to clamp this parameter to.

    Declaration
    public int min
    Field Value
    Type Description
    Int32

    Properties

    value

    The value that this parameter stores.

    Declaration
    public override int value { get; set; }
    Property Value
    Type Description
    Int32
    Overrides
    UnityEngine.Rendering.VolumeParameter<System.Int32>.value
    Remarks

    You can override this property to define custom behaviors when the value is changed.

    See Also

    IntParameter
    MinIntParameter
    MaxIntParameter
    NoInterpIntParameter
    NoInterpMinIntParameter
    NoInterpMaxIntParameter
    NoInterpClampedIntParameter
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)