Return an open stream to the specified resource, or to the package file if resourcePath is not specified
Namespace: Demo3D.PackageManagerAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
SyntaxStream Open(
string name,
SemVersion version,
string resourcePath = null
)
Parameters
- name String
- The name of the package the resource belongs to.
- version SemVersion
- The version of the package the resource belongs to.
- resourcePath String (Optional)
- The relative path to the resource inside the package.
Return Value
StreamAn open stream or null if the resource does not exist
See Also