Remove unused code

This commit is contained in:
Wojtek Figat
2021-07-15 16:56:39 +02:00
parent fe2419cd11
commit 2711bfdc82
4 changed files with 0 additions and 8 deletions

View File

@@ -11,7 +11,6 @@
API_CLASS(NoSpawn) class FLAXENGINE_API AnimationGraph : public BinaryAsset
{
DECLARE_BINARY_ASSET_HEADER(AnimationGraph, 1);
public:
/// <summary>
@@ -29,7 +28,6 @@ public:
/// <summary>
/// Gets the base model asset used for the animation preview and the skeleton layout source.
/// </summary>
/// <returns>The base model.</returns>
API_PROPERTY() SkinnedModel* GetBaseModel() const
{
return Graph.BaseModel.Get();

View File

@@ -19,7 +19,6 @@ public:
/// <summary>
/// Gets the base material. If value gets changed parameters collection is restored to the default values of the new material.
/// </summary>
/// <returns>The base material.</returns>
API_PROPERTY() FORCE_INLINE MaterialBase* GetBaseMaterial() const
{
return _baseMaterial;

View File

@@ -58,7 +58,6 @@ public:
/// <summary>
/// Gets the amount of loaded model LODs.
/// </summary>
/// <returns>Loaded LODs count</returns>
API_PROPERTY() FORCE_INLINE int32 GetLoadedLODs() const
{
return _loadedLODs;
@@ -87,7 +86,6 @@ public:
/// <summary>
/// Gets index of the highest resident LOD (may be equal to LODs.Count if no LOD has been uploaded). Note: LOD=0 is the highest (top quality)
/// </summary>
/// <returns>LOD index</returns>
FORCE_INLINE int32 HighestResidentLODIndex() const
{
return GetLODsCount() - _loadedLODs;
@@ -96,7 +94,6 @@ public:
/// <summary>
/// Determines whether any LOD has been initialized.
/// </summary>
/// <returns>True if any LOD has been initialized, otherwise false.</returns>
FORCE_INLINE bool HasAnyLODInitialized() const
{
return LODs.HasItems() && LODs.Last().HasAnyMeshInitialized();
@@ -105,7 +102,6 @@ public:
/// <summary>
/// Determines whether this model can be rendered.
/// </summary>
/// <returns>True if can render that model, otherwise false.</returns>
FORCE_INLINE bool CanBeRendered() const
{
return _loadedLODs > 0;

View File

@@ -10,7 +10,6 @@
API_CLASS(NoSpawn) class FLAXENGINE_API RawDataAsset : public BinaryAsset
{
DECLARE_BINARY_ASSET_HEADER(RawDataAsset, 1);
public:
/// <summary>