material:reflection-props
List of: Scheme Extensions
Subjects: Materials, Reflectance
Contents: Rendering Base

Action: Gets the properties of a material's reflection component.

Filename: rbase/rnd_scm/rflt_scm.cxx

APIs: api_rh_get_reflect_comp

Syntax: (material:reflection-props material)

Arg Types: material material

Returns: ((string . integer | real | color) ... )

Description: This extension returns a list containing pairs of the property name and its present value.


material specifies the reflection material entity.

Example: ; material:reflection-props

; Create a material.

(define mat1 (material))

;; mat1

; Get the default reflection shader properties.

(material:reflection-props mat1)

;; (("ambient factor" . 1) ("diffuse factor" . 0.75)

;; ("specular factor" . 0.5) ("exponent" . 10)

;; ("specular color" . #[color 1 1 1]))
PDF/RBASE/03SCM.PDF
HTM/DATA/RBASE/RBASE/03SCM/0009.HTM