SetFromReference
This commit is contained in:
@@ -15,6 +15,11 @@ LuaExpressionTransform::~LuaExpressionTransform()
|
||||
delete m_pexprTransformFunction;
|
||||
}
|
||||
|
||||
void LuaExpressionTransform::SetFromReference( const LuaReference &ref )
|
||||
{
|
||||
*m_pexprTransformFunction = ref;
|
||||
}
|
||||
|
||||
void LuaExpressionTransform::SetFromExpression( const RString &sExpression )
|
||||
{
|
||||
m_pexprTransformFunction->SetFromExpression( sExpression );
|
||||
|
||||
@@ -13,6 +13,7 @@ public:
|
||||
LuaExpressionTransform();
|
||||
~LuaExpressionTransform();
|
||||
|
||||
void SetFromReference( const LuaReference &ref );
|
||||
void SetFromExpression( const RString &sExpression );
|
||||
void SetNumSubdivisions( int iNumSubdivisions ) { ASSERT( iNumSubdivisions > 0 ); m_iNumSubdivisions = iNumSubdivisions; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user