CryEngine.Material.Create C# (CSharp) Method

Create() public static method

public static Create ( string name, bool makeIfNotFound = true, bool nonRemovable = false ) : Material
name string
makeIfNotFound bool
nonRemovable bool
return Material
        public static Material Create(string name, bool makeIfNotFound = true, bool nonRemovable = false)
        {
            var ptr = NativeMaterialMethods.CreateMaterial(name);

            return TryGet(ptr);
        }