Name | Description | |
---|---|---|
Material Constructor | Overloaded. |
The following tables list the members exposed by Material.
Name | Description | |
---|---|---|
Material Constructor | Overloaded. |
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 | ||
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. | |
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. | |
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 | 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 | ||
Equals | Overloaded. Compares material names ignoring cases. | |
FreeResources | Frees the material graphics resources. | |
GetHashCode | ||
GetKey | ||
GetObjectData | Populates a System.Runtime.Serialization.SerializationInfo instance with the data needed to serialize the target object. | |
GetPoissonFromShearModulus | Computes the Poisson ratio that needs to be set to have the desired shear modulus. | |
IsTransparent | Tells if the material has a AlphaMapImage or if its Diffuse has alpha < 255. | |
LoadTexture | Loads the texture for this material. This is done automatically the first time the material is added to the Materials collection. | |
SetKey | ||
SetTexture | ||
ToString | ||
WriteObj | Writes the material definition to OBJ material (*.mtl) file. For internal use only. |
Name | Description | |
---|---|---|
OnKeyChanged | When the Name changes I need to notify it to the related keyed collections before changing it. |
Name | Description | |
---|---|---|
KeyChanged |