Grid Placement
Development ⚠️ GridPlacement 6.0 (GECS) is in active development. This is the GDScript ECS architecture.

MaterialResource

AUTO-GENERATED (GDScript) API entry

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: resources/materials/material_resource.gd

Version: 6.0

class_name: MaterialResource extends: Resource

Signals

(none)

Exports

  • material_name: String = ""
    • Visual properties
    • Emission properties
    • Texture properties
    • Material flags
    • Initialize material resource with data
  • albedo_color: Color = Color.WHITE
    • Emission properties
    • Texture properties
    • Material flags
    • Initialize material resource with data
  • metallic: float = 0.0
    • Emission properties
    • Texture properties
    • Material flags
    • Initialize material resource with data
  • roughness: float = 1.0
    • Emission properties
    • Texture properties
    • Material flags
    • Initialize material resource with data
  • specular: float = 0.5
    • Emission properties
    • Texture properties
    • Material flags
    • Initialize material resource with data
  • emission_enabled: bool = false
    • Texture properties
    • Material flags
    • Initialize material resource with data
  • emission_color: Color = Color.BLACK
    • Texture properties
    • Material flags
    • Initialize material resource with data
  • emission_energy: float = 1.0
    • Texture properties
    • Material flags
    • Initialize material resource with data
  • albedo_texture: Texture2D
    • Material flags
    • Initialize material resource with data
  • normal_texture: Texture2D
    • Material flags
    • Initialize material resource with data
  • roughness_texture: Texture2D
    • Material flags
    • Initialize material resource with data
  • metallic_texture: Texture2D
    • Material flags
    • Initialize material resource with data
  • transparent: bool = false
    • Initialize material resource with data
  • unshaded: bool = false
    • Initialize material resource with data
  • disable_depth_testing: bool = false
    • Initialize material resource with data

Methods

  • _init(data: Dictionary = {}) -> void
  • create_material -> StandardMaterial3D
    • Basic properties
  • apply_to_mesh(mesh_instance: MeshInstance3D) -> void
  • validate -> Array
  • to_string -> String