Package-level declarations

Types

Link copied to clipboard

How a glTF material's alpha channel is interpreted.

Link copied to clipboard
actual class Animator

Animator updates matrices according to glTF animation and skin definitions.

expect class Animator

Animator updates matrices according to glTF animation and skin definitions.

actual class Animator

Animator updates matrices according to glTF animation and skin definitions.

actual class Animator

Animator updates matrices according to glTF animation and skin definitions.

actual class Animator

Animator updates matrices according to glTF animation and skin definitions.

Link copied to clipboard
actual class AssetLoader

AssetLoader consumes glTF 2.0 content and produces FilamentAsset objects.

expect class AssetLoader

AssetLoader consumes glTF 2.0 content and produces FilamentAsset objects.

actual class AssetLoader

AssetLoader consumes glTF 2.0 content and produces FilamentAsset objects.

actual class AssetLoader

AssetLoader consumes glTF 2.0 content and produces FilamentAsset objects.

actual class AssetLoader

AssetLoader consumes glTF 2.0 content and produces FilamentAsset objects.

Link copied to clipboard
actual class FilamentAsset

FilamentAsset owns a loaded glTF 2.0 asset and all its Filament objects.

expect class FilamentAsset

FilamentAsset owns a loaded glTF 2.0 asset and all its Filament objects.

actual class FilamentAsset

FilamentAsset owns a loaded glTF 2.0 asset and all its Filament objects.

actual class FilamentAsset

FilamentAsset owns a loaded glTF 2.0 asset and all its Filament objects.

actual class FilamentAsset

FilamentAsset owns a loaded glTF 2.0 asset and all its Filament objects.

Link copied to clipboard
actual class FilamentInstance

FilamentInstance provides access to a hierarchy of entities instanced from a glTF asset.

expect class FilamentInstance

FilamentInstance provides access to a hierarchy of entities instanced from a glTF asset.

actual class FilamentInstance

FilamentInstance provides access to a hierarchy of entities instanced from a glTF asset.

actual class FilamentInstance

FilamentInstance provides access to a hierarchy of entities instanced from a glTF asset.

actual class FilamentInstance

FilamentInstance provides access to a hierarchy of entities instanced from a glTF asset.

Link copied to clipboard
actual object Gltfio

gltfio (glTF I/O) is a loader and pipeline for glTF 2.0 assets in Filament.

expect object Gltfio

gltfio (glTF I/O) is a loader and pipeline for glTF 2.0 assets in Filament.

actual object Gltfio

gltfio (glTF I/O) is a loader and pipeline for glTF 2.0 assets in Filament.

actual object Gltfio

gltfio (glTF I/O) is a loader and pipeline for glTF 2.0 assets in Filament.

actual object Gltfio

gltfio (glTF I/O) is a loader and pipeline for glTF 2.0 assets in Filament.

Link copied to clipboard
data class MaterialKey(var doubleSided: Boolean = false, var unlit: Boolean = false, var hasVertexColors: Boolean = false, var hasBaseColorTexture: Boolean = false, var hasNormalTexture: Boolean = false, var hasOcclusionTexture: Boolean = false, var hasEmissiveTexture: Boolean = false, var useSpecularGlossiness: Boolean = false, var alphaMode: AlphaMode = AlphaMode.OPAQUE, var enableDiagnostics: Boolean = false, var hasMetallicRoughnessTexture: Boolean = false, var metallicRoughnessUV: Int = 0, var baseColorUV: Int = 0, var hasClearCoatTexture: Boolean = false, var clearCoatUV: Int = 0, var hasClearCoatRoughnessTexture: Boolean = false, var clearCoatRoughnessUV: Int = 0, var hasClearCoatNormalTexture: Boolean = false, var clearCoatNormalUV: Int = 0, var hasClearCoat: Boolean = false, var hasTransmission: Boolean = false, var hasTextureTransforms: Boolean = false, var emissiveUV: Int = 0, var aoUV: Int = 0, var normalUV: Int = 0, var hasTransmissionTexture: Boolean = false, var transmissionUV: Int = 0, var hasSheenColorTexture: Boolean = false, var sheenColorUV: Int = 0, var hasSheenRoughnessTexture: Boolean = false, var sheenRoughnessUV: Int = 0, var hasVolumeThicknessTexture: Boolean = false, var volumeThicknessUV: Int = 0, var hasSheen: Boolean = false, var hasIOR: Boolean = false)

MaterialKey encodes glTF material properties for material selection and creation.

Link copied to clipboard
actual interface MaterialProvider : AutoCloseable

MaterialProvider supplies materials to glTF assets during loading.

expect interface MaterialProvider : AutoCloseable

MaterialProvider supplies materials to glTF assets during loading.

actual interface MaterialProvider : AutoCloseable

MaterialProvider supplies materials to glTF assets during loading.

actual interface MaterialProvider : AutoCloseable

MaterialProvider supplies materials to glTF assets during loading.

actual interface MaterialProvider : AutoCloseable

MaterialProvider supplies materials to glTF assets during loading.

Link copied to clipboard
actual class ResourceLoader(engine: Engine, normalizeSkinningWeights: Boolean) : AutoCloseable

ResourceLoader loads external resources referenced by glTF assets.

expect class ResourceLoader(engine: Engine, normalizeSkinningWeights: Boolean = false) : AutoCloseable

ResourceLoader loads external resources referenced by glTF assets.

actual class ResourceLoader(engine: Engine, normalizeSkinningWeights: Boolean) : AutoCloseable

ResourceLoader loads external resources referenced by glTF assets.

actual class ResourceLoader(engine: Engine, normalizeSkinningWeights: Boolean) : AutoCloseable

ResourceLoader loads external resources referenced by glTF assets.

actual class ResourceLoader(engine: Engine, normalizeSkinningWeights: Boolean) : AutoCloseable

ResourceLoader loads external resources referenced by glTF assets.

Link copied to clipboard
@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "createMaterialInstance/getMaterial throw — filament.js does not expose the ubershader material provider; use precompiled .filamat materials on web.")
actual class UbershaderProvider(engine: Engine) : MaterialProvider

UbershaderProvider uses pre-compiled ubershader materials.

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "createMaterialInstance/getMaterial throw — filament.js does not expose the ubershader material provider; use precompiled .filamat materials on web.")
expect class UbershaderProvider(engine: Engine) : MaterialProvider

UbershaderProvider uses pre-compiled ubershader materials.

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "createMaterialInstance/getMaterial throw — filament.js does not expose the ubershader material provider; use precompiled .filamat materials on web.")
actual class UbershaderProvider(engine: Engine) : MaterialProvider

UbershaderProvider uses pre-compiled ubershader materials.

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "createMaterialInstance/getMaterial throw — filament.js does not expose the ubershader material provider; use precompiled .filamat materials on web.")
actual class UbershaderProvider(engine: Engine) : MaterialProvider

UbershaderProvider uses pre-compiled ubershader materials.

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "createMaterialInstance/getMaterial throw — filament.js does not expose the ubershader material provider; use precompiled .filamat materials on web.")
actual class UbershaderProvider(engine: Engine) : MaterialProvider

UbershaderProvider uses pre-compiled ubershader materials.

Properties

Link copied to clipboard
val Animator.nativeObject: Animator
val AssetLoader.nativeObject: AssetLoader
val FilamentAsset.nativeObject: FilamentAsset
val Animator.nativeObject: MemorySegment?
val AssetLoader.nativeObject: MemorySegment?
val FilamentAsset.nativeObject: MemorySegment?
val FilamentInstance.nativeObject: MemorySegment?
val ResourceLoader.nativeObject: MemorySegment?
val Animator.nativeObject: CPointer<FilaAnimator>?
val AssetLoader.nativeObject: CPointer<FilaAssetLoader>?
val FilamentAsset.nativeObject: CPointer<FilaFilamentAsset>?
val ResourceLoader.nativeObject: CPointer<FilaResourceLoader>?
val Animator.nativeObject: gltfio_Animator
val AssetLoader.nativeObject: gltfio_AssetLoader
val FilamentAsset.nativeObject: gltfio_FilamentAsset
val FilamentInstance.nativeObject: gltfio_FilamentInstance

Functions

Link copied to clipboard

Mutates this key to trim requested features down to what the provider supports, and fills uvmap with the resulting glTF-texcoord → Filament-UV-set mapping. Called by providers before material creation.

Mutates this key to trim requested features down to what the provider supports, and fills uvmap with the resulting glTF-texcoord → Filament-UV-set mapping. Called by providers before material creation.

Mutates this key to trim requested features down to what the provider supports, and fills uvmap with the resulting glTF-texcoord → Filament-UV-set mapping. Called by providers before material creation.

Mutates this key to trim requested features down to what the provider supports, and fills uvmap with the resulting glTF-texcoord → Filament-UV-set mapping. Called by providers before material creation.

Mutates this key to trim requested features down to what the provider supports, and fills uvmap with the resulting glTF-texcoord → Filament-UV-set mapping. Called by providers before material creation.