 |
AssimpImporter Properties |
The AssimpImporter type exposes the following members.
Properties| | Name | Description |
|---|
 | AnimatedSkeletonMeshes |
Gets the list of meshes that are animated by the skeletons. Those meshes have Skeleton and [!:Mesh.BonesDictionary] properties set.
|
 | Animations |
Gets the animation that are read from the importer file.
|
 | AssimpConverter |
Gets the AssimpConverter that was used to convert Assimp scene into SceneNode objects.
|
 | AssimpPostProcessSteps |
Gets or sets Assimp PostProcessSteps (see assimp documentation for more information).
Default value is FlipUVs | GenerateSmoothNormals | Triangulate.
|
 | AssimpVersion |
Gets the version of the native Assimp library.
|
 | AssimpVersionString |
Gets the version string of the native Assimp library in the form "major.minor.patch"
|
 | FallbackAnimationDurationMs |
Gets or sets an animation duration in milliseconds that is used when the animation does not have the TicksPerSeconds defined.
|
 | GenerateUniqueModelNames |
When true (by default) then unique object names are generated, e.g. when the objects from Assimp scene have the same name, the "__2", "__3", "__4", etc. suffixes added to the name (the first object does not have changed name).
|
 | GitCommitHash |
Gets the Git commit hash that was generated from the latest source code commit.
Returns zero when Assimp library was complied from a zip file from GitHub's releases.
|
 | IsDisposed |
Gets or sets a Boolean that specifies if this instance of DXAssimpImporter has been disposed.
|
 | IsVerboseLoggingEnabled |
Gets or sets a Boolean that specifies if verbose logging is enabled.
|
 | LoggerCallback |
Gets or sets a logger callback action that takes two strings (message and data).
|
 | NamedObjects |
Gets a dictionary that can be used to get a 3D object by its name (key = name, value = object)
|
 | NativeAssimpScene |
Gets native ImportedAssimpFile that contains then native AssimpScene object that was created when the file was read.
To preserve the native Assimp scene first set PreserveNativeResourcesAfterImporting to true.
When no scene was imported or when the native Assimp scene is not preserved, then this property is null.
|
 | PreserveNativeResourcesAfterImporting |
When true then native Assimp scene is preserved and can be accessed by NativeAssimpScene property.
|
 | ReadAnimations |
When true (by default) then the animations are read from the imported file and converted into Ab4d.SharpEngine's Animation objects.
If this property is true and the file defines animations, then they are stored to Animations list.
Setting this property to false improves import performance because the code to generate the animations is skipped.
|
 | ReadSkeletalAnimation |
When true (by default) and when ReadAnimations is true, then the animation skeletons and mesh bones are read from the imported file.
If this property is true and the file defines skeletal animation, then the Skeletons and AnimatedSkeletonMeshes are set.
|
 | ResolveResourceFunc |
ResolveResourceFunc sets a Func that takes a string (resource name) and returns a Stream.
This can be used to read additional resources (materials and textures).
The returned stream is automatically closed after it is used.
|
 | Skeletons |
Gets the list of AssimpSkeleton objects that define the skeletal animation.
|
 | SupportedImporterFormats |
Gets an array of AssimpImporterDesc that provide detailed information on supported import file formats.
|
 | SupportedImportFileExtensions |
Gets an array of supported file extensions for importing (file extension are written without star and dot as prefix, g.e. "fxb", "obj", etc.)
|
Top
See Also