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 SimpleExtraPrefab
- type SimpleExtraUnit
- type SimpleExtraUnitsContainer
- type SimpleHashIndexRange
- type SimpleLevel
- type SimpleMaterial
- type SimpleMaterialOverride
- type SimpleMetadata
- type SimplePrefab
- type SimpleSpeedtree
- type SimpleSpeedtreeLayer
- type SimpleSpeedtreeTransform
- type SimpleUnit
- type SimpleUnknownTransformedItem
- type SpeedtreeTransformed
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractLevelJSON ¶
func GetLevelExtrasID ¶
Types ¶
type SimpleExtraPrefab ¶ added in v0.7.18
type SimpleExtraUnit ¶ added in v0.7.18
type SimpleExtraUnitsContainer ¶ added in v0.7.18
type SimpleExtraUnitsContainer struct {
UnkInt uint32 `json:"unk_int"`
UnkInt2 uint32 `json:"unk_int_2"`
LevelName string `json:"level_name"`
ExtraUnits []SimpleExtraUnit `json:"extra_units"`
ExtraPrefabs []SimpleExtraPrefab `json:"extra_prefabs"`
UnkIntList []uint32 `json:"unk_int_list"`
UnkFloatTwoIntsList []level.FloatTwoInts `json:"unk_float_two_ints_list"`
UnkIntsAndFloatList []level.IntsAndFloat `json:"unk_ints_and_float"`
}
type SimpleHashIndexRange ¶ added in v0.7.18
type SimpleLevel ¶
type SimpleLevel struct {
Name string `json:"name"`
Metadata map[int][]SimpleMetadata `json:"metadata"`
Prefabs []SimplePrefab `json:"prefabs"`
MaterialOverrides []SimpleMaterialOverride `json:"material_overrides"`
Units []SimpleUnit `json:"units"`
Speedtrees []SimpleSpeedtree `json:"speedtrees"`
UnkTransformedItems []SimpleUnknownTransformedItem `json:"unk_transformed_item"`
UnkExtraUnits []SimpleExtraUnitsContainer `json:"unk_extra_units"`
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"`
UnkHashIndexRange4 []SimpleHashIndexRange `json:"unk_hash_index_range_4"`
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 ¶
type SimpleUnknownTransformedItem ¶ added in v0.7.18
Click to show internal directories.
Click to hide internal directories.