|
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.MaterialsAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax See Also