Click or drag to resize

UserResource Class

Class representing a file which can be embedded in a model or catalog and can be referenced by visuals and scripts.
Inheritance Hierarchy
SystemObject
  Demo3D.VisualsUserResource

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 10.0.0.6737
Syntax
C#
[SerializableAttribute]
public class UserResource

The UserResource type exposes the following members.

Constructors
  NameDescription
Public methodUserResource
Initializes a new instance of the UserResource class.
Top
Properties
  NameDescription
Public propertyCreated
Gets the time at which this resource was created (not when the original file was created).
Public propertyLocalPath
Gets or sets the name and path of this user resource, relative to the UserResources directory. Never set this property directly, always go through UserResourceLibrary.RenameFile.
Public propertyPersistence
Gets or sets a value indicating whether this UserResource will remain in a UserResourceLibrary even when it's not referenced.
Public propertySourcePath
Gets the original path of the file.
Top
Methods
  NameDescription
Public methodGetInputStream
Gets a Stream object which can be used to read the contents of the file.
Public methodHasSameContent
Checks whether the content of this UserResource matches the content of another UserResource instance.
Top
See Also