[Missing <summary> documentation for "T:Rhino.DocObjects.Material"]
Thetype exposes the following members.
Initializes a new instance of theclass
Initializes a new instance of theclass
Gets true if this class has any custom information attached to it through UserData.(Inherited from CommonObject.)
Gets or sets the ID of this material.
Gets or sets the index of refraction of the material, generally >= 1.0 (speed of light in vacuum)/(speed of light in material)
By default Rhino layers and objects are assigned the default rendering material.
Deleted materials are kept in the runtime material table so that undo will work with materials. Call IsDeleted to determine to determine if a material is deleted.
If true this object may not be modified. Any properties or functions that attempt to modify this object when it is set to "IsReadOnly" will throw a NotSupportedException.(Overrides CommonObjectIsDocumentControlled.)
Rhino allows multiple files to be viewed simultaneously. Materials in the document are "normal" or "reference". Reference materials are not saved.
Tests an object to see if it is valid.(Inherited from CommonObject.)
Gets or sets how reflective a material is, 0f is no reflection 1f is 100% reflective.
The Id of the RenderPlugIn that is associated with this material.
Gets or sets the shine factor of the material.
Gets or sets the transparency of the material (0.0 = opaque to 1.0 = transparent)
Number of objects and layers that use this material.
List of custom information that is attached to this class.(Inherited from CommonObject.)
Dictionary of custom information attached to this class. The dictionary is actually user data provided as an easy to use sharable set of information.(Inherited from CommonObject.)
Assigns a parent object and a subobject index to this.(Inherited from CommonObject.)
Set material to default settings.
Actively reclaims unmanaged resources that this instance uses.(Inherited from CommonObject.)
For derived class implementers.(Inherited from CommonObject.)
This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method.
You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true.
Also, you must call the base virtual method within your overriding method.
If you want to keep a copy of this class around by holding onto it in a variable after a command completes, call EnsurePrivateCopy to make sure that this class is not tied to the document. You can call this function as many times as you want.(Inherited from CommonObject.)
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().(Inherited from CommonObject.)
Gets the bump texture of this material.
Serves as the default hash function.(Inherited from Object.)
Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.(Inherited from CommonObject.)
Get array of textures that this material uses
Gets the Type of the current instance.(Inherited from Object.)
Gets a user string.
Gets an independent copy of the collection of (user text key, user text value) pairs attached to this object.
Determines if an object is valid. Also provides a report on errors if this object happens not to be valid.(Inherited from CommonObject.)
Creates a shallow copy of the current Object.(Inherited from Object.)
For derived classes implementers.(Inherited from CommonObject.)
Defines the necessary implementation to free the instance from being const.
Attach a user string (key,value combination) to this geometry.
Returns a string that represents the current object.(Inherited from Object.)