Material Class
Public Class Material
Implements IDisposable, _
ICloneable, _
IEquatable(Of Material), _
IKeyedCollectionDisposableItem(Of Material)
This language is not supported or no code example is available.
public class Material : IDisposable,
ICloneable,
IEquatable<Material>,
IKeyedCollectionDisposableItem<Material>
This language is not supported or no code example is available.
Top
Name | Description | |
---|---|---|
AlphaMap | Gets the internal alphaMap texture. | |
AlphaMapImage | Gets or sets the material alpha image. | |
Aluminium | ||
Ambient | Gets or sets the ambient reflectance of the material. | |
BlackRubber | ||
Brass | ||
Bronze | ||
Chrome | ||
CoeffOfThermalExp | Gets or sets material coefficient of thermal expansion. | |
Copper | ||
Density | Gets or sets material density. | |
Description | Gets or sets the material description. | |
Diffuse | Gets or sets the diffuse reflectance of the material. | |
ElementThickness | Gets or sets the 2D FEM element thickness. | |
ElementType | Gets or sets the 2D FEM element type (FEM). | |
Emerald | ||
Environment | Gets or sets the environment reflectance of the material (range 0-1). | |
EnvironmentMappingImage | Gets or sets the material environment mapping image. | |
EnvironmentMappingTexture | Gets the internal Environment Mapping texture. | |
Gold | ||
Jade | ||
LinearUnits | Gets or sets the material linear units type for the material density. | |
Magnesium | ||
MagnifyingFunction | Gets or sets the texture magnifying function. The texture magnifying function is used whenever the pixel being textured maps to an area smaller than one texture element. There are six defined minifying functions. Two of them use the nearest one or nearest four texture elements to compute the texture value. The other four use mipmaps. | |
MassUnits | Gets or sets the material mass units type for the material density. | |
Matrix | Gets or sets the material Matrix (FEM). | |
MinifyingFunction | Gets or sets the texture minifying function. The texture minifying function is used whenever the pixel being textured maps to an area greater than one texture element. There are six defined minifying functions. Two of them use the nearest one or nearest four texture elements to compute the texture value. The other four use mipmaps. | |
Name | Gets or sets material name. | |
Obsidian | ||
Pearl | ||
Pewter | ||
Poisson | Gets or sets material Poisson's ratio. | |
PolishedBronze | ||
PolishedCopper | ||
PolishedGold | ||
PolishedSilver | ||
RepeatX | Gets or sets the texture repeat mode in the X direction. | |
RepeatY | Gets or sets the texture repeat mode in the Y direction. | |
Ruby | ||
ShearModulus | Gets the shear modulus using the material Young and Poisson constants. | |
Shininess | Gets or sets the specular exponent of the material (range 0-1). | |
Silver | ||
Specular | Gets or sets the specular reflectance of the material. | |
StainlessSteel | ||
StructuralSteel | ||
Texture | Gets the internal texture. | |
TextureImage | Gets or sets the material texture image. | |
TextureImageOverExposure | Gets or sets a value that controls whether the scene lighting can make the image diffuse color brighter than the image color. | |
TextureLength | Gets or sets the material texture length in material's linearUnitsType. | |
Titanium | ||
Turquoise | ||
WireColor | Gets the color used for wire entities. | |
YieldStrength | Gets or sets material yield strength. | |
Young | Gets or sets material modulus of elasticity. |
Name | Description | |
---|---|---|
CalcMaterialPropertyMatrix(int, elementType) | Updates the D matrix for this material (FEM). | |
ClearTexture() | Clears the texture associated to this material. | |
Clone() | Creates a deep copy of this material. | |
ConvertToSurrogate() | ||
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
Equals(Material) | Compares material names ignoring cases. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object). | |
FreeResources() | Frees the material graphics resources. | |
GetHashCode() | ||
GetKey() | Gets the key for the item of the collection. | |
GetObjectData(SerializationInfo, StreamingContext) | Populates a SerializationInfo instance with the data needed to serialize the target object. | |
GetPoissonFromShearModulus(double, double) | Computes the Poisson ratio that needs to be set to have the desired shear modulus. | |
GetType | Gets the Type of the current instance. (inherited from Object). | |
IsTransparent() | Tells if the material has a AlphaMapImage or if its Diffuse has alpha < 255. | |
LoadTexture(RenderContextBase) | Loads the texture for this material. This is done automatically the first time the material is added to the Materials collection. | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object). | |
OnKeyChanged(string, string) | When the Name changes I need to notify it to the related keyed collections before changing it. | |
SetKey(string) | Sets the key for the item of the collection. | |
SetTexture(RenderContextBase) | ||
ToString() | ||
WriteObj(string, TextWriter, string) | Writes the material definition to OBJ material (*.mtl) file. For internal use only. |
Name | Description | |
---|---|---|
KeyChanged | Occurs when the Name changes. |