====== MATERIAL ====== **Category**: Asset Parent class: [[:api:asset|ASSET]]\\ //[[:annotations#cloneable|Cloneable]]// [[:assets:material| List of MATERIAL assets]] ===== Properties ===== ---- ==== AlbedoColor ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:color|color]]'' * **Expected**: ''color value'' * **Default value**: ''COL_WHITE'' ---- ==== Metalness ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#float|float]]'' * **Expected**: ''float value'' * **Default value**: ''0.0f'' ---- ==== Roughness ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#float|float]]'' * **Expected**: ''float value'' * **Default value**: ''1.0f'' ---- ==== RenderMode ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:material_render_mode|MATERIAL_RENDER_MODE]]'' * **Expected**: ''enum value'' * **Default value**: ''MATERIAL_RENDER_MODE.DEFAULT'' ---- ==== HasAlphaTest ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' ---- ==== HasShadow ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' ---- ==== BackFaceVisible ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' ---- ==== HasDepthTest ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' ---- ==== AlbedoTexture ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:texture|TEXTURE]]'' * **Expected**: ''asset ID'' ---- ==== MetalnessTexture ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:texture|TEXTURE]]'' * **Expected**: ''asset ID'' ---- ==== RoughnessTexture ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:texture|TEXTURE]]'' * **Expected**: ''asset ID'' ---- ==== SpecularTexture ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:texture|TEXTURE]]'' * **Expected**: ''asset ID'' ---- ==== NormalTexture ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:texture|TEXTURE]]'' * **Expected**: ''asset ID'' ---- ==== TransparencyOrder ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' * **Expected**: ''integer value'' * **Default value**: ''0'' ---- ==== StencilMask ==== //[[:annotations#serialized|Serialized]]// Use with care, reserved to engine. * **Type**: ''[[:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' * **Expected**: ''integer value''