XRay |
public class XRayMaterial : Material, ITwoSidedMaterial, ITransparentMaterial, IZBufferStateMaterial
The XRayMaterial type exposes the following members.
Name | Description | |
---|---|---|
XRayMaterial | Constructor | |
XRayMaterial(Color3, Single) | Constructor | |
XRayMaterial(Color4, Single) | Constructor | |
XRayMaterial(Color3, Single, Single) | Constructor |
Name | Description | |
---|---|---|
Alpha | Gets or sets a float value that defines the alpha value for the material. | |
DiffuseColor | Gets or sets a Color3 that specifies the diffuse color of this material. | |
Falloff | The Falloff value can change how fast the triangles become transparent. Default value is 1. | |
HasTransparency | Gets a boolean that specifies if this material is semi-transparent and needs to be alpha blended with the scene. | |
IsTwoSided | Gets or sets a Boolean that specifies if the material should be rendered on both front and back side. Default value is false. | |
ReadZBuffer | Gets a Boolean that specifies if Z buffer is read when rendering the object - if the depth test is done when rendering the object. If false then the object is rendered regardless of its depth - if is rendered even if it is behind some other 3D objects. | |
WriteZBuffer | Gets a Boolean that specifies if Z buffer is written when rendering the object - if the object can occlude other 3D objects. If true then the objects behind the object will not be rendered. If false the object will not prevent rendering objects behind it. |
Name | Description | |
---|---|---|
ToString |
ToString
(Overrides MaterialToString) |