Material Methods |
The Material type exposes the following members.
Name | Description | |
---|---|---|
![]() | ClearId |
Resets the HasId property of the model component to false, if possible.
(Inherited from ModelComponent.) |
![]() | ClearIndex |
Resets the HasIndex property of the model component to false, if possible.
(Inherited from ModelComponent.) |
![]() | ClearMaterialChannels |
Removes all material channels
|
![]() | ClearName |
Resets the HasName property of the model component to false, if possible.
(Inherited from ModelComponent.) |
![]() | CommitChanges | |
![]() | CopyFrom | |
![]() | DataCRC |
Increments the Cyclic Redundancy Check value by this instance.
(Inherited from ModelComponent.) |
![]() | Default |
Set material to default settings.
|
![]() | Dispose |
Actively reclaims unmanaged resources that this instance uses.
(Inherited from CommonObject.) |
![]() | EnsurePrivateCopy |
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.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetBitmapTexture | |
![]() | GetBumpTexture |
Gets the bump texture of this material.
|
![]() | GetEnvironmentTexture | |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetObjectData |
Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.
(Inherited from CommonObject.) |
![]() | GetTexture |
Get the texture that corresponds with the specified texture type for this material.
|
![]() | GetTextures |
Get array of textures that this material uses
|
![]() | GetTransparencyTexture | |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetUserString |
Gets a user string.
|
![]() | GetUserStrings |
Gets an independent copy of the collection of (user text key, user text value) pairs attached to this object.
|
![]() | IsValidWithLog |
Determines if an object is valid. Also provides a report on errors if this
object happens not to be valid.
(Inherited from CommonObject.) |
![]() | LockId |
Locks the component Id property.
(Inherited from ModelComponent.) |
![]() | LockIndex |
Locks the component Index property.
(Inherited from ModelComponent.) |
![]() | LockName |
Locks the component Name property.
(Inherited from ModelComponent.) |
![]() | MaterialChannelIdFromIndex |
Finds id of the material channel at given index.
|
![]() | MaterialChannelIndexFromId |
Finds index of the material channel that refers to a material channel with the given id.
Optionally adds channel if one is not found.
|
![]() | SetBitmapTexture(String) | |
![]() | SetBitmapTexture(Texture) | |
![]() | SetBumpTexture(String) | |
![]() | SetBumpTexture(Texture) | |
![]() | SetEnvironmentTexture(String) | |
![]() | SetEnvironmentTexture(Texture) | |
![]() | SetTexture |
Set the texture that corresponds with the specified texture type for this material.
|
![]() | SetTransparencyTexture(String) | |
![]() | SetTransparencyTexture(Texture) | |
![]() | SetUserString |
Attach a user string (key,value combination) to this geometry.
|
![]() | ToJSON |
Create a JSON string representation of this object
(Inherited from CommonObject.) |
![]() | ToPhysicallyBased | |
![]() | ToString |
Returns the name of the model component type, and then its name and index.
(Inherited from ModelComponent.) |