// register all properties void OrthoCamera::registerAllProperty() { _registerProperty( "eye" , new EyeProperty( this ) ); _registerProperty( "up" , new UpProperty( this ) ); _registerProperty( "target" , new TargetProperty( this ) ); _registerProperty( "width" , new WidthProperty( this ) ); _registerProperty( "height" , new HeightProperty( this ) ); }
// register property void SpotLight::_registerAllProperty() { Light::_registerAllProperty(); _registerProperty( "pos" , new PosProperty(this) ); _registerProperty( "falloff_start" , new FalloffStartProperty(this) ); _registerProperty( "range" , new RangeProperty(this) ); _registerProperty( "dir" , new DirProperty(this) ); }
// register property void InstantRadiosity::_registerAllProperty() { _registerProperty( "light_path_num" , new LightPathNumProperty(this) ); _registerProperty( "light_path_set_num" , new LightPathSetProperty(this) ); _registerProperty( "min_distance" , new MinDistanceProperty(this) ); }
// register property void PointLight::_registerAllProperty() { Light::_registerAllProperty(); _registerProperty( "pos" , new PosProperty(this) ); }
void DirectLight::_registerAllProperty() { _registerProperty( "sample_per_light" , new SamplerPerLightProperty(this) ); }