public SerializableVirtualTextureLayer(string name, string refName, SerializableTexture texture) { this.layerName = name; this.layerRefName = refName; this.layerTexture = texture; this.layerTextureType = LayerTextureType.Default; }
public SerializableVirtualTextureLayer(SerializableVirtualTextureLayer other) { this.layerName = other.layerName; this.guid = Guid.NewGuid(); this.layerRefName = $"Layer_{GuidEncoder.Encode(this.guid)}"; this.layerTexture = other.layerTexture; this.layerTextureType = LayerTextureType.Default; }
public SerializableVirtualTextureLayer(string name, SerializableTexture texture) { this.layerName = name; this.guid = Guid.NewGuid(); this.layerRefName = $"Layer_{GuidEncoder.Encode(this.guid)}"; this.layerTexture = texture; this.layerTextureType = LayerTextureType.Default; }