Loading...
Searching...
No Matches
realvirtual.GLB.SerializationContext Class Reference
Serialization context for tracking export state. More...
Public Member Functions | |
| SerializationContext (Transform root, HashSet< Transform > exportedRoots=null, bool exportMaterialProperties=false, bool exportScriptableObjects=true) | |
| bool | IsWithinExportedHierarchy (Transform target) |
| Check if a transform is within the exported hierarchy. | |
| Transform | FindRootFor (Transform target) |
| Find which export root a transform belongs to. | |
| string | GetRelativePath (Transform target) |
| Get relative path from root to target. | |
Properties | |
| Transform | RootTransform [get] |
| HashSet< Transform > | ExportedRoots [get] |
| bool | ExportMaterialProperties [get] |
| bool | ExportScriptableObjects [get] |
Detailed Description
Serialization context for tracking export state.
Member Function Documentation
◆ FindRootFor()
Find which export root a transform belongs to.
◆ GetRelativePath()
| string realvirtual.GLB.SerializationContext.GetRelativePath | ( | Transform | target | ) |
Get relative path from root to target.
◆ IsWithinExportedHierarchy()
| bool realvirtual.GLB.SerializationContext.IsWithinExportedHierarchy | ( | Transform | target | ) |
Check if a transform is within the exported hierarchy.