|
TransparencySorterSortByCameraDistance(Visual3DCollection, BaseCamera) Method |
Sorts objects in Visual3DCollection with moving transparent objects to the back of the objects collection.
The transparent objects are arranged in that way that the objects that are farther away from the camera are rendered before objects that are closer to the camera.
Namespace: Ab3d.UtilitiesAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static bool SortByCameraDistance(
Visual3DCollection visual3DCollection,
BaseCamera camera
)
Parameters
- visual3DCollection Visual3DCollection
- Visual3DCollection
- camera BaseCamera
- Ab3d.PowerToys camera
Return Value
Booleantrue if any object was moved
See Also