Esempio n. 1
0
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" ) );
}
Esempio n. 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" ) );
}