TriLib  1.8.7f
TriLib Unity Package
TriLib.AssimpProcessPreset Class Reference

Represents the importing post process pressets. More...

Public Attributes

const AssimpPostProcessSteps ConvertToLeftHanded = AssimpPostProcessSteps.MakeLeftHanded | AssimpPostProcessSteps.FlipWindingOrder
 
const AssimpPostProcessSteps TargetRealtimeFast = AssimpPostProcessSteps.CalcTangentSpace | AssimpPostProcessSteps.GenNormals | AssimpPostProcessSteps.JoinIdenticalVertices | AssimpPostProcessSteps.Triangulate | AssimpPostProcessSteps.GenUvCoords | AssimpPostProcessSteps.SortByPType
 
const AssimpPostProcessSteps TargetRealtimeQuality = AssimpPostProcessSteps.CalcTangentSpace | AssimpPostProcessSteps.GenSmoothNormals | AssimpPostProcessSteps.JoinIdenticalVertices | AssimpPostProcessSteps.ImproveCacheLocality | AssimpPostProcessSteps.LimitBoneWeights | AssimpPostProcessSteps.RemoveRedundantMaterials | AssimpPostProcessSteps.SplitLargeMeshes | AssimpPostProcessSteps.Triangulate | AssimpPostProcessSteps.GenUvCoords | AssimpPostProcessSteps.SortByPType | AssimpPostProcessSteps.FindInvalidData
 
const AssimpPostProcessSteps TargetRealtimeMaxQuality = TargetRealtimeQuality | AssimpPostProcessSteps.FindInstances | AssimpPostProcessSteps.ValidateDataStructure | AssimpPostProcessSteps.OptimizeMeshes
 

Detailed Description

Represents the importing post process pressets.

Note
This documentation is being translated for a more Unity friendly version. This documentation is based on the latest Assimp branch. Based on: Assimp documentation.

Member Data Documentation

◆ ConvertToLeftHanded

◆ TargetRealtimeFast

Default postprocess configuration optimizing the data for real-time rendering.

Applications would want to use this preset to load models on end-user PCs, maybe for direct use in game.

Note
Please take the time to read the docs for the steps enabled by this preset. Some of them offer further configurable properties, while some of them might not be of use for you so it might be better to not specify them.

◆ TargetRealtimeMaxQuality

Default postprocess configuration optimizing the data for real-time rendering.

This preset enables almost every optimization step to achieve perfectly optimized data. It's your choice for level editor environments where import speed is not important.

Note
Please take the time to read the docs for the steps enabled by this preset. Some of them offer further configurable properties, while some of them might not be of use for you so it might be better to not specify them.

◆ TargetRealtimeQuality

Default postprocess configuration optimizing the data for real-time rendering.

Unlike TriLib.AssimpProcessPreset.TargetRealtimeFast, this configuration performs some extra optimizations to improve rendering speed and to minimize memory usage. It could be a good choice for a level editor environment where import speed is not so important.

Note
Please take the time to read the docs for the steps enabled by this preset. Some of them offer further configurable properties, while some of them might not be of use for you so it might be better to not specify them.

The documentation for this class was generated from the following file: