Class GameObjectBoundsInstantiator
Generates a GameObject hierarchy from a glTF scene and provides its bounding box
Implements
Inherited Members
Namespace: GLTFast
Assembly: solution.dll
Syntax
public class GameObjectBoundsInstantiator : GameObjectInstantiator, IInstantiator
Constructors
Name | Description |
---|---|
GameObjectBoundsInstantiator(IGltfReadable, Transform, ICodeLogger, InstantiationSettings) | Constructs a GameObjectInstantiator |
Methods
Name | Description |
---|---|
AddPrimitive(uint, string, MeshResult, uint[], uint?, float[], int) | Called for adding a Primitive/Mesh to a Node. |
BeginScene(string, uint[]) | Starts creating a scene instance. Has to be called at first and concluded by calling EndScene(uint[]). |
CalculateBounds() | Attempts to calculate the instance's bounds |