ExportMesh writes file to Assets/testRecording.usd
MODIFY
package/com.unity.formats.usd/Samples~/ExportMesh/ExportMeshExampleTimeline.playable
package/com.unity.formats.usd/Samples~/ExportMesh/ExportMeshExampleTimeline.playable
@@ -9,17 +9,17 @@ MonoBehaviour:
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
- m_Script: {fileID: 337831424, guid: 6a10b2909283487f913b00d94cd3faf5, type: 3}
+ m_Script: {fileID: 11500000, guid: bfda56da833e2384a9677cd3c976a436, type: 3}
m_Name: ExportMeshExampleTimeline
m_EditorClassIdentifier:
- m_NextId: 0
+ m_Version: 0
m_Tracks:
- {fileID: 114384900094690320}
m_FixedDuration: 0
m_EditorSettings:
m_Framerate: 30
m_DurationMode: 0
- m_Version: 0
+ m_MarkerTrack: {fileID: 0}
--- !u!114 &114384900094690320
MonoBehaviour:
m_ObjectHideFlags: 1
@@ -32,14 +32,17 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fdb3781f83309f84dab54c78806353c0, type: 3}
m_Name: Usd Recorder Track
m_EditorClassIdentifier:
+ m_Version: 3
+ m_AnimClip: {fileID: 0}
m_Locked: 0
m_Muted: 0
m_CustomPlayableFullTypename:
- m_AnimClip: {fileID: 0}
+ m_Curves: {fileID: 0}
m_Parent: {fileID: 11400000}
m_Children: []
m_Clips:
- - m_Start: 0
+ - m_Version: 1
+ m_Start: 0
m_ClipIn: 0
m_Asset: {fileID: 114727924261217814}
m_Duration: 6.999999999999
@@ -107,8 +110,8 @@ MonoBehaviour:
m_PostExtrapolationTime: 0
m_PreExtrapolationTime: 0
m_DisplayName: UsdRecorderClip
- m_Version: 1
- m_Version: 2
+ m_Markers:
+ m_Objects: []
--- !u!114 &114727924261217814
MonoBehaviour:
m_ObjectHideFlags: 1
@@ -127,4 +130,4 @@ MonoBehaviour:
m_exportMaterials: 1
m_convertHandedness: 1
m_activePolicy: 0
- m_usdFile: Assets/UsdUnitySdk/Examples/ExportMesh/testRecording.usd
+ m_usdFile: Assets/testRecording.usd

MODIFY
package/com.unity.formats.usd/package.json
package/com.unity.formats.usd/package.json
"samples":[
{
"displayName" : "HelloUsd",
- "description" : "A sample showing how to write custom data to USDs",
+ "description" : "A sample showing how to write custom data to USDs.",
"path" : "Samples~/HelloUsd"
},
{
"displayName" : "ExportMesh",
- "description" : "Some Description",
+ "description" : "A sample showing how to record a scene to a USD file.",
"path" : "Samples~/ExportMesh"
},
{

ExportMesh writes file to Assets/testRecording.usd