Documentation
¶
Index ¶
- func Convert(currDoc *gltf.Document) func(ctx *extractor.Context) error
- func ConvertOpts(ctx *extractor.Context, gltfDoc *gltf.Document) error
- func ExtractLevelJSON(ctx *extractor.Context) error
- func GetLevelExtrasID(fileId stingray.FileID) string
- type SimpleEmbeddedPrefab
- type SimpleEmbeddedPrefabTransform
- type SimpleHashIndexRange
- type SimpleLevel
- type SimpleMaterial
- type SimpleMaterialOverride
- type SimpleMetadata
- type SimplePrefab
- type SimpleSpeedtree
- type SimpleSpeedtreeLayer
- type SimpleSpeedtreeTransform
- type SimpleUnit
- type SpeedtreeTransformed
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractLevelJSON ¶
func GetLevelExtrasID ¶
Types ¶
type SimpleEmbeddedPrefab ¶ added in v0.7.50
type SimpleEmbeddedPrefab struct {
Transform SimpleEmbeddedPrefabTransform `json:"header"`
Prefab extr_prefab.SimplePrefab `json:"prefab"`
}
type SimpleEmbeddedPrefabTransform ¶ added in v0.7.50
type SimpleHashIndexRange ¶ added in v0.7.18
type SimpleLevel ¶
type SimpleLevel struct {
Name string `json:"name"`
Metadata map[int][]SimpleMetadata `json:"metadata"`
MaterialOverrides []SimpleMaterialOverride `json:"material_overrides"`
Units []SimpleUnit `json:"units"`
Prefabs []SimplePrefab `json:"prefabs"`
EmbeddedPrefabs []SimpleEmbeddedPrefab `json:"embedded_prefabs"`
Speedtrees []SimpleSpeedtree `json:"speedtrees"`
Entity *entity.SimpleEntity `json:"entity"`
UnitHashIndexRange []SimpleHashIndexRange `json:"unit_hash_index_range"`
UnkHashIndexRange1 []SimpleHashIndexRange `json:"unk_hash_index_range_1"`
UnkHashIndexRange2 []SimpleHashIndexRange `json:"unk_hash_index_range_2"`
UnkHashIndexRange3 []SimpleHashIndexRange `json:"unk_hash_index_range_3"`
PrefabHashIndexRange []SimpleHashIndexRange `json:"prefab_hash_index_range"`
EmbeddedPrefabHashIndexRange []SimpleHashIndexRange `json:"embedded_prefab_hash_index_range"`
UnkHashIndexRange5 []SimpleHashIndexRange `json:"unk_hash_index_range_5"`
}
type SimpleMaterial ¶
type SimpleMaterialOverride ¶
type SimpleMetadata ¶
type SimpleMetadata struct {
Names []string `json:"names"`
Type level.LevelMetadataType `json:"type"`
Value any `json:"value"`
}
type SimplePrefab ¶
type SimpleSpeedtree ¶ added in v0.7.26
type SimpleSpeedtree struct {
Path string `json:"path"`
Layers []SimpleSpeedtreeLayer `json:"layers"`
SpeedtreeTransforms []SimpleSpeedtreeTransform `json:"transforms"`
}
type SimpleSpeedtreeLayer ¶ added in v0.7.26
type SimpleSpeedtreeTransform ¶ added in v0.7.26
type SimpleUnit ¶
Click to show internal directories.
Click to hide internal directories.