CryEngine.Material.Create C# (CSharp) Méthode

Create() public static méthode

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

            return TryGet(ptr);
        }