CanvasMaterial ObjectThe CanvasMaterial object represents a 3D Canvas Palette Material.
Gets the material color. Syntax object.GetColor(Red As Variant, Remarks Each color component may be from 0 to 1 in intensity. Sets the material color. Syntax object.SetColor(Red As Variant, Remarks Each color component may be from 0 to 1 in intensity. Gets the translucent factor. Sets the Syntax object.GetTranslucent() As Variant Remarks May be from 0 to 100 as in the 3D Canvas Material Palette. Sets the translucent factor. Syntax object.SetTranslucent(Translucent As Variant) Remarks May be from 0 to 100 as in the 3D Canvas Material Palette. Gets the diffuse factor. Syntax object.GetDiffuse() As Variant Remarks May be from 0 to 100 as in the 3D Canvas Material Palette. Sets the diffuse factor. Syntax object.SetDiffuse(Diffuse As Variant) Remarks May be from 0 to 100 as in the 3D Canvas Material Palette. Gets the ambient factor. Syntax object.GetAmbient() As Variant Remarks May be from 0 to 100 as in the 3D Canvas Material Palette. Sets the ambient factor. Syntax object.SetAmbient(Ambient As Variant) Remarks May be from 0 to 100 as in the 3D Canvas Material Palette. Gets the Specular factor. Syntax object.GetSpecular() As Variant Remarks May be from 0 to 100 as in the 3D Canvas Material Palette. Sets the Specular factor. Syntax object.SetSpecular(Specular As Variant) Remarks May be from 0 to 100 as in the 3D Canvas Material Palette. Gets the texture file name. Syntax object.GetTextureFileName() As Variant Sets the texture file name. Syntax object.SetTextureFileName(FileName As Variant) Gets the secondary texture file name. Syntax object.GetSecondaryTextureFileName() As Variant Sets the secondary texture file name. Syntax object.SetSecondaryTextureFileName(FileName As Variant) GetSecondaryTextureTranslucent Gets the secondary texture translucent factor. Syntax object.GetSecondaryTextureTranslucent() As Variant Remarks May be from 0 to 100 as in the 3D Canvas Material Palette. SetSecondaryTextureTranslucent Sets the secondary texture translucent factor. Syntax object.SetSecondaryTextureTranslucent(Translucent As Variant) Remarks May be from 0 to 100 as in the 3D Canvas Material Palette. Gets the translucent map file name. Syntax object.GetTranslucentMapFileName() As Variant Sets the translucent map file name. Syntax object.SetTranslucentMapFileName(FileName As Variant) |