A Fragment is a render-level object that is used to store individual Trigons with their respective render data without the overhead of creating an entirely new MeshUrbject.
See also: Trigon, Material, FrameInstance, MeshUrbject
Constructors
Variables
Public Variables
| trigon: Trigon |
A Trigon in the top-level Scene spatial domain. |
| material: Material |
The Material object used to render the Fragment. |
| group: number |
The render group that the Fragment belongs to. |
Functions
Static Functions
| Fragment.copy(f: Fragment): Fragment |
Returns a copy of the given Fragment or a new Fragment from an object that contains all of the public attributes in the Fragment class. |
Home
Copyright © 2020 Trevor Richard