-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ModelImporter - Add block bench export for models inside models.bin
- Loading branch information
Showing
9 changed files
with
705 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Numerics; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using Newtonsoft.Json; | ||
|
||
namespace PckStudio.Internal.Json | ||
{ | ||
internal class JsonModelMetaData | ||
{ | ||
[JsonProperty("textureLocations", Required = Required.Always)] | ||
public string[] TextureLocations { get; set; } | ||
|
||
//[JsonProperty("parents", NullValueHandling = NullValueHandling.Ignore, DefaultValueHandling = DefaultValueHandling.Populate)] | ||
//public Dictionary<string, string> ParentBones { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Drawing; | ||
namespace PckStudio.Internal | ||
{ | ||
internal readonly struct NamedTexture | ||
{ | ||
public readonly string Name; | ||
public readonly Image Texture; | ||
|
||
public NamedTexture(string name, Image texture) | ||
{ | ||
Name = name; | ||
Texture = texture; | ||
} | ||
} | ||
} |
Oops, something went wrong.