| SpriteMaterial Methods |
The SpriteMaterial type exposes the following members.
| Name | Description | |
|---|---|---|
| Apply |
Apply all new properties on the material effect.
Call this whenever you want to draw using this material.
(Inherited from MaterialAPI.) | |
| Clone |
Clone this material.
(Inherited from AlphaTestMaterial.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IterateEffectPasses |
Iterate over all passes in current technique and call the provided callback for each pass.
You can use this function to draw stuff manually.
(Inherited from MaterialAPI.) | |
| SetBoneTransforms |
Set bone transforms for an animated material.
Useable only for materials that implement skinned animation in shader.
(Inherited from MaterialAPI.) | |
| SetDefaults |
Set default value for all the basic properties.
(Inherited from MaterialAPI.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |