예제 #1
0
파일: Curve.cpp 프로젝트: euler0/Helium
void Curve::PopulateComposite( Reflect::Composite& comp )
{
    comp.AddField(            &Curve::m_Closed,               TXT( "m_Closed" ) );
    comp.AddEnumerationField( &Curve::m_Type,                 TXT( "m_Type" ) );
    comp.AddEnumerationField( &Curve::m_ControlPointLabel,    TXT( "m_ControlPointLabel" ) );
    comp.AddField(            &Curve::m_Resolution,           TXT( "m_Resolution" ) );
}
예제 #2
0
void MeshProcessingComponent::PopulateComposite( Reflect::Composite& comp )
{
    comp.AddField( &MeshProcessingComponent::a_ScalingFactor, TXT( "a_ScalingFactor" ) );
    comp.AddEnumerationField( &MeshProcessingComponent::a_MeshCompressionFactor, TXT( "a_MeshCompressionFactor" ) );
    comp.AddField( &MeshProcessingComponent::a_FlipWinding, TXT( "a_FlipWinding" ) );
}