Click or drag to resize
Ab4d.SharpEngine logo

ITwoSidedMaterial Interface

ITwoSidedMaterial interface defines IsTwoSided property that specifies if this material should be rendered on both front and back side.

Namespace: Ab4d.SharpEngine.Materials
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public interface ITwoSidedMaterial

The ITwoSidedMaterial type exposes the following members.

Properties
 NameDescription
Public propertyIsTwoSided Gets or sets a Boolean that specifies if the material should be rendered on both front and back side. Note that when rendering semi-transparent objects and when alpha clipping is not used, it is better to set BackMaterial to the same material as Material instead of setting IsTwoSided to true because this correctly rendered the back side before the front side.
Top
See Also