Action:
|
Gets the type of a material's transparency component.
|
|
Filename:
|
rbase/rnd_scm/trsp_scm.cxx
|
|
APIs:
|
api_rh_get_transp_comp
|
|
Syntax:
|
(material:transparency-type material)
|
|
Arg Types:
|
material
|
material
|
|
Returns:
|
string
|
|
Description:
|
This extension returns the type of transparency shader assigned to the material as a string.
|
|
|
material specifies the transparency material entity.
|
|
Example:
|
; material:transparency-type
|
|
; Create a material.
|
|
(define mat1 (material))
|
|
;; mat1
|
|
; Get the default transparency type.
|
|
(material:transparency-type mat1)
|
|
;; "none"
|