material:transparency-type
List of: Scheme Extensions
Subjects: Materials, Transparency
Contents: Rendering Base

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"
PDF/RBASE/03SCM.PDF
HTM/DATA/RBASE/RBASE/03SCM/0026.HTM