Refactor PhysicalMaterial usage to utilize JsonAssetReference struct

This commit is contained in:
Wojtek Figat
2024-02-15 11:45:50 +01:00
parent fe7cc62728
commit 7538296775
8 changed files with 12 additions and 25 deletions

View File

@@ -15,17 +15,9 @@ class FLAXENGINE_API PhysicalMaterial final : public ISerializable
API_AUTO_SERIALIZATION();
DECLARE_SCRIPTING_TYPE_MINIMAL(PhysicalMaterial);
private:
void* _material;
void* _material = nullptr;
public:
/// <summary>
/// Initializes a new instance of the <see cref="PhysicalMaterial"/> class.
/// </summary>
PhysicalMaterial();
/// <summary>
/// Finalizes an instance of the <see cref="PhysicalMaterial"/> class.
/// </summary>
~PhysicalMaterial();
public: