FDatasmithAreaLightElementImpl Class Reference
Inheritance diagram for FDatasmithAreaLightElementImpl:
FDatasmithSpotLightElementImpl< IDatasmithAreaLightElement > FDatasmithPointLightElementImpl< IDatasmithAreaLightElement > FDatasmithLightActorElementImpl< IDatasmithAreaLightElement > FDatasmithActorElementImpl< IDatasmithAreaLightElement > FDatasmithElementImpl< IDatasmithAreaLightElement > IDatasmithAreaLightElement IDatasmithSpotLightElement IDatasmithPointLightElement IDatasmithLightActorElement IDatasmithActorElement IDatasmithElement

Public Member Functions

 FDatasmithAreaLightElementImpl (const TCHAR *InName)
 
virtual EDatasmithLightShape GetLightShape () const override
 Get the light shape Rectangle/Sphere/Disc/Cylinder. More...
 
virtual void SetLightShape (EDatasmithLightShape InShape) override
 Set the light shape Rectangle/Sphere/Disc/Cylinder. More...
 
virtual EDatasmithAreaLightType GetLightType () const override
 
virtual void SetLightType (EDatasmithAreaLightType InLightType) override
 Set the type of light for an area light: Point/Spot/Rect. More...
 
virtual void SetWidth (float InWidth) override
 Set the area light shape size on the Y axis. More...
 
virtual float GetWidth () const override
 
virtual void SetLength (float InLength) override
 Set the area light shape size on the X axis. More...
 
virtual float GetLength () const override
 
- Public Member Functions inherited from FDatasmithSpotLightElementImpl< IDatasmithAreaLightElement >
 FDatasmithSpotLightElementImpl (const TCHAR *InName)
 
virtual float GetInnerConeAngle () const override
 
virtual void SetInnerConeAngle (float InInnerConeAngle) override
 
virtual float GetOuterConeAngle () const override
 
virtual void SetOuterConeAngle (float InOuterConeAngle) override
 
- Public Member Functions inherited from FDatasmithPointLightElementImpl< IDatasmithAreaLightElement >
 FDatasmithPointLightElementImpl (const TCHAR *InName)
 
virtual void SetIntensityUnits (EDatasmithLightUnits InUnits)
 
virtual EDatasmithLightUnits GetIntensityUnits () const
 
virtual float GetSourceRadius () const override
 
virtual void SetSourceRadius (float InSourceRadius) override
 
virtual float GetSourceLength () const override
 
virtual void SetSourceLength (float InSourceLength) override
 
virtual float GetAttenuationRadius () const override
 
virtual void SetAttenuationRadius (float InAttenuationRadius) override
 
- Public Member Functions inherited from FDatasmithLightActorElementImpl< IDatasmithAreaLightElement >
virtual bool IsEnabled () const override
 
virtual void SetEnabled (bool bInIsEnabled) override
 
virtual double GetIntensity () const override
 
virtual void SetIntensity (double InIntensity) override
 
virtual FLinearColor GetColor () const override
 
virtual void SetColor (FLinearColor InColor) override
 
virtual double GetTemperature () const override
 
virtual void SetTemperature (double InTemperature) override
 
virtual bool GetUseTemperature () const override
 
virtual void SetUseTemperature (bool bInUseTemperature) override
 
virtual const TCHAR * GetIesFile () const override
 
virtual void SetIesFile (const TCHAR *InIesFile) override
 
virtual bool GetUseIes () const override
 
virtual void SetUseIes (bool bInUseIes) override
 
virtual double GetIesBrightnessScale () const override
 
virtual void SetIesBrightnessScale (double InIesBrightnessScale) override
 
virtual bool GetUseIesBrightness () const override
 
virtual void SetUseIesBrightness (bool bInUseIesBrightness) override
 
virtual FQuat GetIesRotation () const override
 
virtual void SetIesRotation (const FQuat &InIesRotation) override
 
TSharedPtr< IDatasmithMaterialIDElement > & GetLightFunctionMaterial () override
 
void SetLightFunctionMaterial (const TSharedPtr< IDatasmithMaterialIDElement > &InMaterial) override
 
void SetLightFunctionMaterial (const TCHAR *InMaterialName) override
 
- Public Member Functions inherited from FDatasmithActorElementImpl< IDatasmithAreaLightElement >
 FDatasmithActorElementImpl (const TCHAR *InName, EDatasmithElementType InType)
 
virtual FVector GetTranslation () const override
 
virtual void SetTranslation (float InX, float InY, float InZ) override
 
virtual void SetTranslation (const FVector &Value) override
 
virtual FVector GetScale () const override
 
virtual void SetScale (float InX, float InY, float InZ) override
 
virtual void SetScale (const FVector &Value) override
 
virtual FQuat GetRotation () const override
 
virtual void SetRotation (float InX, float InY, float InZ, float InW) override
 
virtual void SetRotation (const FQuat &Value) override
 
virtual void SetUseParentTransform (bool bInUseParentTransform) override
 
virtual FTransform GetRelativeTransform () const override
 
virtual const TCHAR * GetLayer () const override
 
virtual void SetLayer (const TCHAR *InLayer) override
 
virtual void AddTag (const TCHAR *InTag) override
 
virtual void ResetTags () override
 
virtual int32 GetTagsCount () const
 
virtual const TCHAR * GetTag (int32 TagIndex) const override
 
virtual void AddChild (const TSharedPtr< IDatasmithActorElement > &InChild, EDatasmithActorAttachmentRule AttachementRule=EDatasmithActorAttachmentRule::KeepWorldTransform) override
 
virtual int32 GetChildrenCount () const override
 
virtual TSharedPtr< IDatasmithActorElementGetChild (int32 InIndex) override
 Get the 'InIndex'th child of the actor
More...
 
virtual const TSharedPtr< IDatasmithActorElement > & GetChild (int32 InIndex) const override
 
virtual void RemoveChild (const TSharedPtr< IDatasmithActorElement > &InChild) override
 
virtual void SetIsAComponent (bool Value)
 
virtual bool IsAComponent () const override
 
virtual void SetAsSelector (bool bInAsSelector) override
 
virtual bool IsASelector () const override
 
virtual void SetSelectionIndex (int32 InSelectionIdx) override
 Set the index of the child which is active in a selector
More...
 
virtual int32 GetSelectionIndex () const override
 Get the index of the child which is active in a selector. More...
 
virtual void SetVisibility (bool bInVisibility) override
 
virtual bool GetVisibility () const override
 
- Public Member Functions inherited from FDatasmithElementImpl< IDatasmithAreaLightElement >
 FDatasmithElementImpl (const TCHAR *InName, EDatasmithElementType InType, uint64 InSubType=0)
 
virtual bool IsA (EDatasmithElementType InType) const override
 
virtual bool IsSubType (uint64 InSubType) const override
 
virtual const TCHAR * GetName () const override
 
virtual void SetName (const TCHAR *InName) override
 
virtual const TCHAR * GetLabel () const override
 
virtual void SetLabel (const TCHAR *InLabel) override
 
virtual FMD5Hash CalculateElementHash (bool) override
 

Additional Inherited Members

- Protected Member Functions inherited from FDatasmithSpotLightElementImpl< IDatasmithAreaLightElement >
 FDatasmithSpotLightElementImpl (const TCHAR *InName, EDatasmithElementType ChildType)
 
- Protected Member Functions inherited from FDatasmithPointLightElementImpl< IDatasmithAreaLightElement >
 FDatasmithPointLightElementImpl (const TCHAR *InName, EDatasmithElementType ChildType)
 
- Protected Member Functions inherited from FDatasmithLightActorElementImpl< IDatasmithAreaLightElement >
 FDatasmithLightActorElementImpl (const TCHAR *InName, EDatasmithElementType ChildType)
 
- Protected Member Functions inherited from FDatasmithActorElementImpl< IDatasmithAreaLightElement >
void ConvertChildsToRelative ()
 Converts all childs transforms to relative. More...
 
void ConvertChildsToWorld ()
 Converts all childs transforms to world. More...
 
- Protected Attributes inherited from FDatasmithElementImpl< IDatasmithAreaLightElement >
FString Name
 
FString Label
 
FMD5Hash ElementHash
 
EDatasmithElementType Type
 
uint64 SubType
 

Member Function Documentation

◆ GetLightShape()

virtual EDatasmithLightShape FDatasmithAreaLightElementImpl::GetLightShape ( ) const
inlineoverridevirtual

Get the light shape Rectangle/Sphere/Disc/Cylinder.

Implements IDatasmithAreaLightElement.

◆ SetLength()

virtual void FDatasmithAreaLightElementImpl::SetLength ( float  InLength)
inlineoverridevirtual

Set the area light shape size on the X axis.

Implements IDatasmithAreaLightElement.

◆ SetLightShape()

virtual void FDatasmithAreaLightElementImpl::SetLightShape ( EDatasmithLightShape  Shape)
inlineoverridevirtual

Set the light shape Rectangle/Sphere/Disc/Cylinder.

Implements IDatasmithAreaLightElement.

◆ SetLightType()

virtual void FDatasmithAreaLightElementImpl::SetLightType ( EDatasmithAreaLightType  LightType)
inlineoverridevirtual

Set the type of light for an area light: Point/Spot/Rect.

Implements IDatasmithAreaLightElement.

◆ SetWidth()

virtual void FDatasmithAreaLightElementImpl::SetWidth ( float  InWidth)
inlineoverridevirtual

Set the area light shape size on the Y axis.

Implements IDatasmithAreaLightElement.


The documentation for this class was generated from the following file: