Click or drag to resize
AB4D logo

XRayMaterial Properties

The XRayMaterial type exposes the following members.

Properties
 NameDescription
Public propertyAlpha Gets or sets a float value that defines the alpha value for the material.
Public propertyDiffuseColor Gets or sets a Color3 that specifies the diffuse color of this material.
Public propertyFalloff The Falloff value can change how fast the triangles become transparent. Default value is 1.
Public propertyHasTransparency Gets a boolean that specifies if this material is semi-transparent and needs to be alpha blended with the scene.
Public propertyIsTwoSided Gets or sets a Boolean that specifies if the material should be rendered on both front and back side. Default value is false.
Public propertyReadZBuffer 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.
Public propertyWriteZBuffer 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.
Top
See Also