You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-223488 #rb jordi.rovira #tests Editor #rnx #virtualized [CL 36035608 by alexei lebedev in ue5-main branch]
61 lines
1.8 KiB
C++
61 lines
1.8 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
#include "MuT/NodeMeshTransform.h"
|
|
|
|
#include "HAL/PlatformString.h"
|
|
#include "Misc/AssertionMacros.h"
|
|
#include "MuR/MutableMath.h"
|
|
#include "MuT/NodeLayout.h"
|
|
#include "MuT/NodeMeshPrivate.h"
|
|
#include "MuT/NodeMeshTransformPrivate.h"
|
|
#include "MuT/NodePrivate.h"
|
|
|
|
|
|
namespace mu
|
|
{
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
// Static initialisation
|
|
//---------------------------------------------------------------------------------------------
|
|
FNodeType NodeMeshTransform::Private::s_type = FNodeType(Node::EType::MeshTransform, NodeMesh::GetStaticType() );
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
//!
|
|
//---------------------------------------------------------------------------------------------
|
|
|
|
MUTABLE_IMPLEMENT_NODE( NodeMeshTransform )
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
// Own Interface
|
|
//---------------------------------------------------------------------------------------------
|
|
NodeMeshPtr NodeMeshTransform::GetSource() const
|
|
{
|
|
return m_pD->Source;
|
|
}
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
void NodeMeshTransform::SetSource( NodeMesh* p )
|
|
{
|
|
m_pD->Source = p;
|
|
}
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
void NodeMeshTransform::SetTransform( const FMatrix44f& Value )
|
|
{
|
|
m_pD->Transform = Value;
|
|
}
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
const FMatrix44f& NodeMeshTransform::GetTransform() const
|
|
{
|
|
return m_pD->Transform;
|
|
}
|
|
|
|
}
|