Package com.google.android.filament
Class View.ScreenSpaceReflectionsOptions
- java.lang.Object
-
- com.google.android.filament.View.ScreenSpaceReflectionsOptions
-
- Enclosing class:
- View
public static class View.ScreenSpaceReflectionsOptions extends java.lang.ObjectOptions for Screen-space Reflections.- See Also:
View#setScreenSpaceReflectionOptions
-
-
Field Summary
Fields Modifier and Type Field Description floatbiasbias, in world units, to prevent self-intersectionsbooleanenabledenables or disables screen-space reflectionsfloatmaxDistancemaximum distance, in world units, to raycastfloatstridestride, in texels, for samples along the ray.floatthicknessray thickness, in world units
-
Constructor Summary
Constructors Constructor Description ScreenSpaceReflectionsOptions()
-
-
-
Field Detail
-
thickness
public float thickness
ray thickness, in world units
-
bias
public float bias
bias, in world units, to prevent self-intersections
-
maxDistance
public float maxDistance
maximum distance, in world units, to raycast
-
stride
public float stride
stride, in texels, for samples along the ray.
-
enabled
public boolean enabled
enables or disables screen-space reflections
-
-