|
Action:
|
Sets an argument of a material's transparency component.
|
|
|
Prototype:
|
outcome api_rh_set_transp_arg (
|
|
|
RH_MATERIAL* material,
|
// material
|
|
|
const char* arg_name,
|
// name of argument
|
|
|
const Render_Arg& value
|
// argument value
|
|
|
);
|
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/kernapi/api/api.hxx"
|
|
#include "rnd_husk/api/rnd_api.hxx"
|
|
#include "rnd_husk/include/rh_args.hxx"
|
|
#include "rnd_husk/include/rh_enty.hxx"
|
|
|
Description:
|
This API sets arguments controlling the transparency component specified by
name.
name must correspond to one of the supported arguments for the type of transparency component associated with
RH_MATERIAL. The underlying argument type depends on the argument set with the
Render_Arg class.
|
|
|
Library:
|
rnd_husk
|
|
|
Filename:
|
rbase/rnd_husk/api/rnd_api.hxx
|
|
|
Effect:
|
Changes model
|