You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/AtomLyIntegration/EMotionFXAtom/Code/Source
Chris Santora fec79a7d53 Moved the material slot list from ModelLodAsset to ModelAsset, so all the slots live in one main list. This removes data duplication between LODs and cleans up the code a bit.
I had to update the ModelLod class to take in both the ModelLodAsset and ModelAsset for initialization so it can fetch the slots for each mesh.

Signed-off-by: santorac <55155825+santorac@users.noreply.github.com>
4 years ago
..
ActorAsset.cpp Moved the material slot list from ModelLodAsset to ModelAsset, so all the slots live in one main list. This removes data duplication between LODs and cleans up the code a bit. 4 years ago
ActorAsset.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ActorModule.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ActorSystemComponent.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ActorSystemComponent.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
AtomActor.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
AtomActor.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
AtomActorInstance.cpp Moved the material slot list from ModelLodAsset to ModelAsset, so all the slots live in one main list. This removes data duplication between LODs and cleans up the code a bit. 4 years ago
AtomActorInstance.h Refactored how model material slots work in preparation to support more flexible material conversion options for the scene asset pipeline. The material slot IDs are based on the MaterialUid that come from SceneAPI. Since these IDs are also used as the AssetId sub-ID for the converted material assets, the system was just checking the material asset sub-ID to determine the material slot ID. But in order to support certain FBX material conversion options, we needed to break this tie, so the slot ID is separate from the AssetId of the material in that slot. This will allow some other material to be used in the slot, instead of being forced to use one that was generated from the FBX. 4 years ago
AtomBackend.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
AtomBackend.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago