Click or drag to resize
MaterialAPI Methods

The MaterialAPI type exposes the following members.

Methods
  NameDescription
Public methodApply
Apply all new properties on the material effect. Call this whenever you want to draw using this material.
Public methodClone
Clone this material.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIterateEffectPasses
Iterate over all passes in current technique and call the provided callback for each pass. You can use this function to draw stuff manually.
Public methodSetBoneTransforms
Set bone transforms for an animated material. Useable only for materials that implement skinned animation in shader.
Public methodSetDefaults
Set default value for all the basic properties.
Public methodStatic memberSetViewProjection
Set materials view and projection matrixes (shared by all materials).
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also