KudanAR - iOS  1.6.0
ARMaterialPropertyReflection Class Reference

#import <ARMaterialPropertyReflection.h>

Inherits NSObject.

Properties

float reflectivity
 
ARTextureCubeenvironment
 

Detailed Description

ARMaterialPropertyReflection is a class used by ARLightMaterial to simulate reflection of a material.

Property Documentation

◆ environment

- (ARTextureCube*) environment
readwritenonatomicassign

A texture cube that simulates the environment surrounding the material. A map must be assigned for reflection to occur.

◆ reflectivity

- (float) reflectivity
readwritenonatomicassign

The reflectivity ratio in range 0..1. This represents how reflective the material is.

  • A value of 0 would mean no reflection.
  • A value of 1 would mean complete reflection, no light is absorbed.
  • Values within this range represent partial reflection. This is good for simulating real-life reflective surfaces, such as mirrors.

The documentation for this class was generated from the following file: