Click or drag to resize
AB4D logo

IPixelMaterial Interface

IPixelMaterial interface defines properties that define a pixel material.

Namespace: Ab3d.DirectX.Materials
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public interface IPixelMaterial

The IPixelMaterial type exposes the following members.

Properties
 NameDescription
Public propertyFixedUpVector Gets a nullable Vector3 that can specify a fixed up vector. By default (when FixedUpVector is null), pixels always face the camera so that their up vector is perpendicular to the look direction. But for some cases (for example for rendering trees that always grow upwards), you can fix the up vector. When FixedUpVector is set to a Vector3, then it will always be used for up vector when orienting pixel towards the camera. Fixed up vector can be used only when IsWorldSize is set to true.
Public propertyIsCircularPixel When true then each pixel is rendered as circle instead of square.
Public propertyIsWorldSize 
Public propertyPixelColor Gets the color of the pixels.
Public propertyPixelSize Gets the width and height of the pixel in screen space units.
Top
See Also