Package com.banuba.sdk.scene
Class AssetManager.CppProxy
java.lang.Object
com.banuba.sdk.scene.AssetManager.CppProxy
- All Implemented Interfaces:
AssetManager
- Enclosing interface:
- AssetManager
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.banuba.sdk.scene.AssetManager
AssetManager.CppProxy
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createAudioTrack
(String name) creates audio_trackcreateDynamicMesh
(String name, String path) creates dynamicaly updated meshcreateFace
(String name) creates facecreateHand
(String name) creates handcreateImage
(String name, ImageType type) create image of given typecreateMaterial
(String name, String path) creates materialcreateMaterialExt
(String name, String vsPath, String fsPath, int instanceCount, ArrayList<String> extraDefs) creates materialcreateMorph
(String name, MorphingType type) creates morphingcreateProceduralTexture
(String name, ProceduralAlgorithmType type) createRenderTarget
(String name) creates render targetcreateResource
(String filename) create resource and start async loading in the asset_manager threadpoolcreateSegmentationMask
(String name, SegmentationMaskType type) createStaticMesh
(String name) creates static meshprotected void
finalize()
findAudioTrack
(String name) Find audio track by specified name.Find face by specified name.Find hand by specified name.Find image by specified name.findMaterial
(String name) Find material by specified name.Find mesh by specified name.Find morph by specified name.findRenderTarget
(String name) Find render target by specified name.void
uploadMeshData
(Mesh mesh, String fileName) upload mesh file
-
Method Details
-
_djinni_private_destroy
public void _djinni_private_destroy() -
finalize
-
createImage
Description copied from interface:AssetManager
create image of given type- Specified by:
createImage
in interfaceAssetManager
- Parameters:
name
- (string): image nametype
- (image_type): image type- Returns:
- created image (image).
-
createResource
Description copied from interface:AssetManager
create resource and start async loading in the asset_manager threadpool- Specified by:
createResource
in interfaceAssetManager
- Returns:
- created resource (resource).
-
createSegmentationMask
- Specified by:
createSegmentationMask
in interfaceAssetManager
-
createProceduralTexture
- Specified by:
createProceduralTexture
in interfaceAssetManager
-
createRenderTarget
Description copied from interface:AssetManager
creates render target- Specified by:
createRenderTarget
in interfaceAssetManager
- Parameters:
name
- (string): render target name- Returns:
- created render target (render_target).
-
createAudioTrack
Description copied from interface:AssetManager
creates audio_track- Specified by:
createAudioTrack
in interfaceAssetManager
- Parameters:
name
- (string): audio track name- Returns:
- created audio track (audio_track).
-
createFace
Description copied from interface:AssetManager
creates face- Specified by:
createFace
in interfaceAssetManager
- Parameters:
name
- (string): face name- Returns:
- created face (face).
-
createMorph
Description copied from interface:AssetManager
creates morphing- Specified by:
createMorph
in interfaceAssetManager
- Parameters:
name
- (string): morphing name- Returns:
- created morphing (morphing).
-
createStaticMesh
Description copied from interface:AssetManager
creates static mesh- Specified by:
createStaticMesh
in interfaceAssetManager
- Parameters:
name
- (string): mesh name- Returns:
- created mesh (mesh).
-
createDynamicMesh
Description copied from interface:AssetManager
creates dynamicaly updated mesh- Specified by:
createDynamicMesh
in interfaceAssetManager
- Parameters:
name
- (string): mesh namepath
- (string): path to mesh- Returns:
- created mesh (mesh).
-
createHand
Description copied from interface:AssetManager
creates hand- Specified by:
createHand
in interfaceAssetManager
- Parameters:
name
- (string): hand name- Returns:
- created hand (hand).
-
uploadMeshData
Description copied from interface:AssetManager
upload mesh file- Specified by:
uploadMeshData
in interfaceAssetManager
- Parameters:
mesh
- (mesh): meshfileName
- (string): file to upload
-
createMaterial
Description copied from interface:AssetManager
creates material- Specified by:
createMaterial
in interfaceAssetManager
- Parameters:
name
- (string): material namepath
- (string): path to shaders- Returns:
- created material (material).
-
createMaterialExt
public Material createMaterialExt(String name, String vsPath, String fsPath, int instanceCount, ArrayList<String> extraDefs) Description copied from interface:AssetManager
creates material- Specified by:
createMaterialExt
in interfaceAssetManager
- Parameters:
name
- (string): material namevsPath
- (string): path to vertex shaderfsPath
- (string): path to fragment shaderinstanceCount
- (i32): instances countextraDefs
- (list): defines list for shader - Returns:
- created material (material).
-
findImage
Description copied from interface:AssetManager
Find image by specified name. Returns null if image not found.- Specified by:
findImage
in interfaceAssetManager
- Parameters:
name
- (string) image name.
-
findRenderTarget
Description copied from interface:AssetManager
Find render target by specified name. Returns null if render target not found.- Specified by:
findRenderTarget
in interfaceAssetManager
- Parameters:
name
- (string) render target name.
-
findAudioTrack
Description copied from interface:AssetManager
Find audio track by specified name. Returns null if audio track not found.- Specified by:
findAudioTrack
in interfaceAssetManager
- Parameters:
name
- (string) audio track name.
-
findFace
Description copied from interface:AssetManager
Find face by specified name. Returns null if face not found.- Specified by:
findFace
in interfaceAssetManager
- Parameters:
name
- (string) face name.
-
findHand
Description copied from interface:AssetManager
Find hand by specified name. Returns null if hand not found.- Specified by:
findHand
in interfaceAssetManager
- Parameters:
name
- (string) hand name.
-
findMorph
Description copied from interface:AssetManager
Find morph by specified name. Returns null if morph not found.- Specified by:
findMorph
in interfaceAssetManager
- Parameters:
name
- (string) morph name.
-
findMesh
Description copied from interface:AssetManager
Find mesh by specified name. Returns null if mesh not found.- Specified by:
findMesh
in interfaceAssetManager
- Parameters:
name
- (string) mesh name.
-
findMaterial
Description copied from interface:AssetManager
Find material by specified name. Returns null if material not found.- Specified by:
findMaterial
in interfaceAssetManager
- Parameters:
name
- (string) material name.
-