Documentation
¶
Index ¶
- func AddMaterials(ctx extractor.Context, doc *gltf.Document, imgOpts *extr_material.ImageOptions, ...) (map[stingray.ThinHash]uint32, error)
- func AddPrefabMetadata(ctx extractor.Context, doc *gltf.Document, filename stingray.Hash, ...)
- func AddSkeleton(ctx extractor.Context, doc *gltf.Document, unitInfo *unit.Info, ...) uint32
- func Convert(currDoc *gltf.Document) func(ctx extractor.Context) error
- func ConvertBuffer(fMain, fGPU io.ReadSeekCloser, filename stingray.Hash, ctx extractor.Context, ...) error
- func ConvertOpts(ctx extractor.Context, imgOpts *extr_material.ImageOptions, ...) error
- func LoadBoneMap(ctx extractor.Context, unitInfo *unit.Info) (*bones.Info, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMaterials ¶ added in v0.5.14
func AddPrefabMetadata ¶ added in v0.5.14
func AddSkeleton ¶ added in v0.5.14
func AddSkeleton(ctx extractor.Context, doc *gltf.Document, unitInfo *unit.Info, skeletonName stingray.Hash, armorName *string) uint32
Adds the unit's skeleton to the gltf document
func ConvertBuffer ¶ added in v0.6.11
func ConvertBuffer(fMain, fGPU io.ReadSeekCloser, filename stingray.Hash, ctx extractor.Context, imgOpts *extr_material.ImageOptions, gltfDoc *gltf.Document) error
func ConvertOpts ¶ added in v0.3.2
func ConvertOpts(ctx extractor.Context, imgOpts *extr_material.ImageOptions, gltfDoc *gltf.Document) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.