Click or drag to resize
AB4D logo

PixelMaterialFixedUpVector Property

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. This property can be set by SetFixedUpVector(Vector3) and ResetFixedUpVector methods.

Namespace: Ab3d.DirectX.Materials
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public Vector3? FixedUpVector { get; }

Property Value

NullableVector3

Implements

IPixelMaterialFixedUpVector
See Also