Method BuildSphere
BuildSphere(SphereSample, GameObject, SceneImportOptions, bool)
Copy sphere data from USD to Unity with the given import options.
Declaration
public static void BuildSphere(SphereSample usdSphere, GameObject go, SceneImportOptions options, bool skinnedMesh = false)
Parameters
| Type | Name | Description |
|---|---|---|
| SphereSample | usdSphere | |
| GameObject | go | |
| SceneImportOptions | options | |
| bool | skinnedMesh | Whether the Cube to build is skinned or not. This will allow to determine which Renderer to create on the GameObject (MeshRenderer or SkinnedMeshRenderer). Default value is false (not skinned). |