Arrow Group Industries LM86 Manual do Utilizador Página 153

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 167
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 152
© Next Limit Technologies 2010
Maxwell Render 2.5 User Manual
Chapter 17. Appendix IV. Scripting References | 153
17.03.02 Multilight example
// This script shows how to use the Multilight API through scripting
// It opens an MXI le, parses all the lights and changes their intensity to 500 Watts
Maxwell.openMxi( “C:\multilight_test.mxi” );
var nLights = Multilight.getLightsCount();
for( var i = 0; i < nLights; i++ )
{
if( Multilight.isLightMuted( i ) == false )
{
Multilight.setLightEmissionType( i, 0 ); // Custom emitter
Multilight.setLightLuminanceType( i, 0 ); // Watts
Multilight.setLightIntensity( i, 500 );
}
}
Multilight.refreshAllLights(); // Upload viewers
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////
Vista de página 152
1 2 ... 148 149 150 151 152 153 154 155 156 157 158 ... 166 167

Comentários a estes Manuais

Sem comentários