Exemple #1
0
// 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 ) );
}
Exemple #2
0
// 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) );
}
Exemple #3
0
// 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) );
}
Exemple #4
0
// register property
void PointLight::_registerAllProperty()
{
	Light::_registerAllProperty();
	_registerProperty( "pos" , new PosProperty(this) );
}
Exemple #5
0
void DirectLight::_registerAllProperty()
{
	_registerProperty( "sample_per_light" , new SamplerPerLightProperty(this) );
}