FBX -> Scene, part 2. Code changes, file renames (#1704)
* First pass FBX -> Scene File conversion. This is the simple pass, minimizing code changes and focused on comments. Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com> * Step 1 of part 2 of the FBX -> Scene rename Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com> * Renaming FbxSceneBuilder folder to SceneBuilder Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com> * Renamed files Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com> * More FBX -> Scene Signed-off-by: stankowi <4838196+AMZN-stankowi@users.noreply.github.com>
This commit is contained in:
@@ -27,7 +27,7 @@ namespace AZ
|
||||
{
|
||||
class IGraphObject;
|
||||
}
|
||||
namespace FbxSceneBuilder
|
||||
namespace SceneBuilder
|
||||
{
|
||||
struct QueueNode;
|
||||
struct ImportContext;
|
||||
@@ -58,8 +58,8 @@ namespace AZ
|
||||
class NodeIndex
|
||||
{
|
||||
friend class SceneGraph;
|
||||
friend struct FbxSceneBuilder::QueueNode;
|
||||
friend struct FbxSceneBuilder::ImportContext;
|
||||
friend struct SceneBuilder::QueueNode;
|
||||
friend struct SceneBuilder::ImportContext;
|
||||
public:
|
||||
// Type needs to be able to store an index in a NodeHeader (currently 21-bits).
|
||||
using IndexType = uint32_t;
|
||||
|
||||
@@ -80,11 +80,11 @@ namespace AZ
|
||||
virtual unsigned int GetVertexIndex(int faceIndex, int vertexIndexInFace) const = 0;
|
||||
static const int s_invalidMaterialId = 0;
|
||||
|
||||
// Set the unit size of the mesh, from the point of FBX SDK
|
||||
// Set the unit size of the mesh, from the point of the source SDK
|
||||
void SetUnitSizeInMeters(float size) { m_unitSizeInMeters = size; }
|
||||
float GetUnitSizeInMeters() const { return m_unitSizeInMeters; }
|
||||
|
||||
// Set the original unit size of the mesh, from the point of FBX SDK
|
||||
// Set the original unit size of the mesh, from the point of the source SDK
|
||||
void SetOriginalUnitSizeInMeters(float size) { m_originalUnitSizeInMeters = size; }
|
||||
float GetOriginalUnitSizeInMeters() const { return m_originalUnitSizeInMeters; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user