The EffectInstance type exposes the following members.

Constructors

  NameDescription
Public methodEffectInstance
Constructs the effect instance for geometry having the specified vertex format.

Methods

  NameDescription
Public methodDispose
Releases all resources used by the EffectInstance
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsValid
Tests whether the effect instance is valid for rendering.
Public methodMatchesFormat
Tests whether the effect instance is appropriate for the given vertex format.
Public methodSetAmbientColor
Sets the ambient color parameter of the effect instance.
Public methodSetColor
Sets the color parameter of the effect instance.
Public methodSetDiffuseColor
Sets the diffuse color parameter of the effect instance.
Public methodSetEmissiveColor
Sets the emissive color parameter of the effect instance.
Public methodSetGlossiness
Sets the glossiness parameter of the effect instance.
Public methodSetSpecularColor
Sets the specular color parameter of the effect instance.
Public methodSetTransparency
Sets the transparency parameter of the effect instance.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.

See Also