UnityEditor.ShaderUtil.GetMaterialProperty_Index C# (CSharp) Method

GetMaterialProperty_Index() private method

private GetMaterialProperty_Index ( Object mats, int propertyIndex ) : MaterialProperty
mats Object
propertyIndex int
return MaterialProperty
        internal static extern MaterialProperty GetMaterialProperty_Index(Object[] mats, int propertyIndex);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

示例#1
0
 internal static MaterialProperty GetMaterialProperty(UnityEngine.Object[] mats, int propertyIndex)
 {
     return(ShaderUtil.GetMaterialProperty_Index(mats, propertyIndex));
 }