Click or drag to resize
Ab4d.SharpEngine logo

StandardMaterial Methods

The StandardMaterial type exposes the following members.

Methods
 NameDescription
Protected methodCreateClone
(Overrides MaterialCreateClone)
Public methodGetDetailsText GetDetailsText adds string that writes details about this Material into the specified StringBuilder.
(Overrides StandardMaterialBaseGetDetailsText(StringBuilder, Boolean, Boolean, Boolean))
Protected methodOnInitializeSceneResources Initializes resources with the specified Scene and GpuDevice. This method can be override and is called from InitializeSceneResources(Scene) method.
(Overrides StandardMaterialBaseOnInitializeSceneResources(Scene, VulkanDevice))
Public methodSetOpacity Sets Opacity and returns StandardMaterial so we can chain the calls to change material. This method can be used with materials defined in StandardMaterials class.
Public methodSetSpecular(Single) Sets SpecularPower to the specified value and SpecularColor to White. Method returns StandardMaterial so we can chain the calls to change material. This method can be used with materials defined in StandardMaterials class.
Public methodSetSpecular(Color3, Single) Sets SpecularColor and SpecularPower and returns StandardMaterial so we can chain the calls to change material. This method can be used with materials defined in StandardMaterials class.
Top
See Also