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

Public Member Functions

virtual void SetIntensityUnits (EDatasmithLightUnits InUnits)=0
 
virtual EDatasmithLightUnits GetIntensityUnits () const =0
 
virtual float GetSourceRadius () const =0
 Get light radius, width in case of 2D light sources. More...
 
virtual void SetSourceRadius (float SourceRadius)=0
 Set light radius, width in case of 2D light sources. More...
 
virtual float GetSourceLength () const =0
 Get light length only affects 2D shaped lights. More...
 
virtual void SetSourceLength (float SourceLength)=0
 Set light length only affects 2D shaped lights. More...
 
virtual float GetAttenuationRadius () const =0
 Get attenuation radius in centimeters. More...
 
virtual void SetAttenuationRadius (float AttenuationRadius)=0
 Set attenuation radius in centimeters. More...
 
- Public Member Functions inherited from IDatasmithLightActorElement
virtual bool IsEnabled () const =0
 Return true on light enabled, false otherwise. More...
 
virtual void SetEnabled (bool bIsEnabled)=0
 Set enable property of the light. More...
 
virtual double GetIntensity () const =0
 Get light intensity. More...
 
virtual void SetIntensity (double Intensity)=0
 Set light intensity. More...
 
virtual FLinearColor GetColor () const =0
 Get light color on linear mode. More...
 
virtual void SetColor (FLinearColor Color)=0
 Set light color on linear mode. More...
 
virtual double GetTemperature () const =0
 Get the light temperature in Kelvin. More...
 
virtual void SetTemperature (double Temperature)=0
 Set the light temperature in Kelvin. More...
 
virtual bool GetUseTemperature () const =0
 Get if the light color is controlled by temperature. More...
 
virtual void SetUseTemperature (bool bUseTemperature)=0
 Set if the light color is controlled by temperature. More...
 
virtual const TCHAR * GetIesFile () const =0
 Get the path of the Ies definition file. More...
 
virtual void SetIesFile (const TCHAR *IesFile)=0
 Set the path of the Ies definition file. More...
 
virtual bool GetUseIes () const =0
 Set if this light is controlled by Ies definition file. More...
 
virtual void SetUseIes (bool bUseIes)=0
 Get if this light is controlled by Ies definition file. More...
 
virtual double GetIesBrightnessScale () const =0
 Get the Ies brightness multiplier. More...
 
virtual void SetIesBrightnessScale (double IesBrightnessScale)=0
 Set the Ies brightness multiplier. More...
 
virtual bool GetUseIesBrightness () const =0
 Get if the emissive amount of the ies is controlled by the brightness scale. More...
 
virtual void SetUseIesBrightness (bool bUseIesBrightness)=0
 Set if the emissive amount of the ies is controlled by the brightness scale. More...
 
virtual FQuat GetIesRotation () const =0
 Get the rotation applied to the IES shape. More...
 
virtual void SetIesRotation (const FQuat &IesRotation)=0
 Set the rotation to apply to the IES shape. More...
 
virtual TSharedPtr< IDatasmithMaterialIDElement > & GetLightFunctionMaterial ()=0
 Get emissive material on this light. More...
 
virtual void SetLightFunctionMaterial (const TSharedPtr< IDatasmithMaterialIDElement > &InMaterial)=0
 Set emissive material on this light. More...
 
virtual void SetLightFunctionMaterial (const TCHAR *InMaterialName)=0
 Set emissive material on this light. More...
 
- Public Member Functions inherited from IDatasmithActorElement
virtual FVector GetTranslation () const =0
 Get absolute translation of this entity. More...
 
virtual void SetTranslation (float InX, float InY, float InZ)=0
 Set absolute translation of this entity. More...
 
virtual void SetTranslation (const FVector &Value)=0
 Set absolute translation of this entity. More...
 
virtual FVector GetScale () const =0
 Get absolute scale of this entity. More...
 
virtual void SetScale (float InX, float InY, float InZ)=0
 Set absolute scale of this entity. More...
 
virtual void SetScale (const FVector &Value)=0
 Set absolute scale of this entity. More...
 
virtual FQuat GetRotation () const =0
 Get rotation (in quaternion format) of this entity. More...
 
virtual void SetRotation (float InX, float InY, float InZ, float InW)=0
 Set rotation (in quaternion format) of this entity. More...
 
virtual void SetRotation (const FQuat &Value)=0
 Set rotation (in quaternion format) of this entity. More...
 
virtual void SetUseParentTransform (bool bUseParentTransform)=0
 Sets to adjust the actor transform relative to it's parent. More...
 
virtual FTransform GetRelativeTransform () const =0
 Returns the relative transform for this element. More...
 
virtual const TCHAR * GetLayer () const =0
 Get the the name of the layer that contains this entity. More...
 
virtual void SetLayer (const TCHAR *InLayer)=0
 Set the the the layer that contains this entity, layer will be auto-created from its name. More...
 
virtual void AddTag (const TCHAR *InTag)=0
 Add a new Tag to an Actor element. More...
 
virtual void ResetTags ()=0
 Remove all Tags on the Actor element. More...
 
virtual int32 GetTagsCount () const =0
 Get the number of tags attached to an Actor element. More...
 
virtual const TCHAR * GetTag (int32 TagIndex) const =0
 Get the 'TagIndex'th tag of an Actor element. More...
 
virtual void AddChild (const TSharedPtr< IDatasmithActorElement > &InChild, EDatasmithActorAttachmentRule AttachementRule=EDatasmithActorAttachmentRule::KeepWorldTransform)=0
 Adds a new child to the Actor Element. More...
 
virtual int32 GetChildrenCount () const =0
 Get the number of children on this actor. More...
 
virtual TSharedPtr< IDatasmithActorElement > GetChild (int32 InIndex)=0
 Get the InIndex-th child of the mesh actor. More...
 
virtual const TSharedPtr< IDatasmithActorElement > & GetChild (int32 InIndex) const =0
 
virtual void RemoveChild (const TSharedPtr< IDatasmithActorElement > &InChild)=0
 
virtual void SetIsAComponent (bool Value)=0
 Indicates if this actor is a standalone actor or a component, when used in a hierarchy. More...
 
virtual bool IsAComponent () const =0
 
virtual void SetAsSelector (bool bInIsASelector)=0
 Set a mesh actor as a switch or not. More...
 
virtual bool IsASelector () const =0
 Get if a mesh actor is a switch or not. More...
 
virtual void SetSelectionIndex (int32 InSelectionID)=0
 Set the index of the visible child of a mesh actor which is a selector. More...
 
virtual int32 GetSelectionIndex () const =0
 Get the index of the visible child of a mesh actor which is a selector. More...
 
virtual void SetVisibility (bool bInVisibility)=0
 Get a mesh actor's visibility. More...
 
virtual bool GetVisibility () const =0
 Set a mesh actor's visibility. More...
 
- Public Member Functions inherited from IDatasmithElement
virtual bool IsA (EDatasmithElementType Type) const =0
 returns if this DatasmithElement is of a specified type More...
 
virtual bool IsSubType (uint64 SubType) const =0
 returns if this DatasmithElement is of a specified subtype of its EDatasmithElementType More...
 
virtual const TCHAR * GetName () const =0
 Gets the element name. More...
 
virtual void SetName (const TCHAR *InName)=0
 Sets the element name. More...
 
virtual const TCHAR * GetLabel () const =0
 Gets the element label used in the UI. More...
 
virtual void SetLabel (const TCHAR *InLabel)=0
 Sets the element label used in the UI. More...
 
virtual FMD5Hash CalculateElementHash (bool bForce)=0
 Return a MD5 hash of the content of the Element. More...
 

Member Function Documentation

◆ GetAttenuationRadius()

virtual float IDatasmithPointLightElement::GetAttenuationRadius ( ) const
pure virtual

Get attenuation radius in centimeters.

◆ GetSourceLength()

virtual float IDatasmithPointLightElement::GetSourceLength ( ) const
pure virtual

Get light length only affects 2D shaped lights.

◆ GetSourceRadius()

virtual float IDatasmithPointLightElement::GetSourceRadius ( ) const
pure virtual

Get light radius, width in case of 2D light sources.

◆ SetAttenuationRadius()

virtual void IDatasmithPointLightElement::SetAttenuationRadius ( float  AttenuationRadius)
pure virtual

Set attenuation radius in centimeters.

◆ SetSourceLength()

virtual void IDatasmithPointLightElement::SetSourceLength ( float  SourceLength)
pure virtual

Set light length only affects 2D shaped lights.

◆ SetSourceRadius()

virtual void IDatasmithPointLightElement::SetSourceRadius ( float  SourceRadius)
pure virtual

Set light radius, width in case of 2D light sources.


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