Class RootExtension
Extension methods for Root
Inherited Members
Namespace: Unity.Cloud.Gltfast
Assembly: Unity.Cloud.Gltfast.dll
Syntax
public static class RootExtension
Methods
Serialize(Root, Stream)
Serialization to JSON
Declaration
public static void Serialize(this Root root, Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| Root | root | Root glTF object to be serialized. |
| Stream | stream | Stream the JSON string is being written to. |