CryEngine.Material.GetSubmaterial C# (CSharp) Method

GetSubmaterial() public method

Gets a submaterial by slot.
public GetSubmaterial ( int slot ) : Material
slot int
return Material
        public Material GetSubmaterial(int slot)
        {
            var ptr = NativeMaterialMethods.GetSubMaterial(Handle, slot);

            return TryGet(ptr);
        }