UnityEditor.ShaderUtil.GetMaterialProperty_Index C# (CSharp) 메소드

GetMaterialProperty_Index() 개인적인 메소드

private GetMaterialProperty_Index ( Object mats, int propertyIndex ) : MaterialProperty
mats Object
propertyIndex int
리턴 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));
 }