docs.unity.cn
    Show / Hide Table of Contents

    Class MaterialParameter

    A VolumeParameter that holds a Material value.

    Inheritance
    Object
    VolumeParameter
    VolumeParameter<Material>
    MaterialParameter
    Inherited Members
    VolumeParameter<Material>.m_Value
    VolumeParameter<Material>.value
    VolumeParameter<Material>.Interp(Material, Material, Single)
    VolumeParameter<Material>.Override(Material)
    VolumeParameter<Material>.SetValue(VolumeParameter)
    VolumeParameter<Material>.GetHashCode()
    VolumeParameter<Material>.ToString()
    VolumeParameter<Material>.Equals(VolumeParameter<Material>)
    VolumeParameter<Material>.Equals(Object)
    VolumeParameter<Material>.Clone()
    VolumeParameter.k_DebuggerDisplay
    VolumeParameter.m_OverrideState
    VolumeParameter.overrideState
    VolumeParameter.GetValue<T>()
    VolumeParameter.OnEnable()
    VolumeParameter.OnDisable()
    VolumeParameter.IsObjectParameter(Type)
    VolumeParameter.Release()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Rendering
    Syntax
    [Serializable]
    public class MaterialParameter : VolumeParameter<Material>, ICloneable, IEquatable<VolumeParameter<Material>>

    Constructors

    MaterialParameter(Material, Boolean)

    Creates a new MaterialParameter instance.

    Declaration
    public MaterialParameter(Material value, bool overrideState = false)
    Parameters
    Type Name Description
    Material value

    The initial value to store in the parameter

    Boolean overrideState

    The initial override state for the parameter

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, Boolean)
    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023