|
| LMaterialAsset (const TObjectPtr< LMaterial > &Material) |
|
| LMaterialAsset (const bool bIsTransparent=false) |
|
glm::vec3 & | GetAlbedoColor () |
|
void | SetAlbedoColor (const glm::vec3 &color) |
|
float & | GetMetalness () |
|
void | SetMetalness (float value) |
|
float & | GetRoughness () |
|
void | SetRoughness (float value) |
|
float & | GetEmission () |
|
void | SetEmission (float value) |
|
FORCEINLINE bool | IsValid () const |
|
TObjectPtr< LMaterial > | GetMaterial () const |
|
void | SetMaterial (TObjectPtr< LMaterial > Material) |
|
void | SetTransparency (float transparency) |
|
float & | GetTransparency () |
|
bool | IsTransparent () const |
|
TObjectPtr< LTexture2D > | GetAlbedoMap () |
|
void | SetAlbedoMap (TObjectPtr< LTexture2D > texture) |
|
void | ClearAlbedoMap () |
|
TObjectPtr< LTexture2D > | GetNormalMap () |
|
void | SetNormalMap (TObjectPtr< LTexture2D > texture) |
|
TObjectPtr< LTexture2D > | GetMetalnessMap () |
|
void | SetMetalnessMap (TObjectPtr< LTexture2D > texture) |
|
void | ClearMetalnessMap () |
|
TObjectPtr< LTexture2D > | GetRoughnessMap () |
|
void | SetRoughnessMap (TObjectPtr< LTexture2D > texture) |
|
void | ClearRoughnessMap () |
|
virtual FORCEINLINE EAssetType | GetAssetType () const |
|
FORCEINLINE bool | HasFlag (const EAssetFlag Flag) const |
|
FORCEINLINE void | SetFlag (const EAssetFlag Flag, bool Value=true) |
|
virtual bool | operator== (const LAsset &Other) const |
|
virtual bool | operator!= (const LAsset &Other) const |
|
| LObject (const LObject &Other) |
|
virtual void | Initialize () |
| Initialize object.
|
|
virtual void | Destroy () |
| Destroy object, releasing all resources.
|
|
virtual FORCEINLINE bool | IsInitialized () const |
| Check if object is initialized.
|
|
FORCEINLINE FObjectHandle | GetObjectHandle () const |
| Get the object handle.
|
|
virtual FORCEINLINE bool | IsObjectValid () const |
| Check if object is valid for use.
|
|
virtual const LClass * | ObjectRegistration ()=0 |
| Register object class.
|
|
virtual FORCEINLINE const LClass * | GetClass () const |
| Get the class for this LObject.
|
|
virtual std::string | ClassName () const =0 |
| Get name of the LObject class.
|
|
LObject & | operator= (const LObject &Other) |
|
void | MarkAsGarbage () |
| Mark object as garbage.
|
|
template<typename T > |
T & | As () |
| Cast object to type T.
|
|
template<typename T > |
const T & | As () const |
| Cast object to type T.
|
|
template<typename T > |
bool | IsA () const |
| Check if the object is or is a derivation of type T.
|
|
virtual FORCEINLINE bool | IsAsset () const |
| Check if object is an asset.
|
|
FORCEINLINE uint32_t | GetReferenceCount () const |
| Return current reference count from all object pointers.
|
|
template<typename OtherClassType > |
FORCEINLINE bool | IsA (OtherClassType OtherObject) const |
| Check if the object is the same type as the passed object's.
|
|