* Returns the Document associated with a given Graph, if any. * @hidden * @experimental
(graph: Graph<Property>)
| 90 | * @experimental |
| 91 | */ |
| 92 | public static fromGraph(graph: Graph<Property>): Document | null { |
| 93 | return Document._GRAPH_DOCUMENTS.get(graph) || null; |
| 94 | } |
| 95 | |
| 96 | /** Creates a new Document, representing an empty glTF asset. */ |
| 97 | public constructor() { |
no test coverage detected