ufe  3.2
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
Ufe::Light::SphereInterface Class Referenceabstract

#include <light.h>

Public Member Functions

virtual ~SphereInterface ()
 
virtual SpherePropsUndoableCommand::Ptr spherePropsCmd (float radius, bool asPoint)=0
 
virtual void sphereProps (float radius, bool asPoint)
 
virtual SphereProps sphereProps () const =0
 

Detailed Description

Definition at line 338 of file light.h.

Constructor & Destructor Documentation

◆ ~SphereInterface()

virtual Ufe::Light::SphereInterface::~SphereInterface ( )
virtual

Member Function Documentation

◆ sphereProps() [1/2]

virtual void Ufe::Light::SphereInterface::sphereProps ( float  radius,
bool  asPoint 
)
inlinevirtual

Set the sphere properties. Default implementation uses SpherePropsUndoableCommand.

Parameters
radiusthe new sphere radius.
asPointthe flag specifying whether to treat the light as a point

Definition at line 352 of file light.h.

◆ sphereProps() [2/2]

virtual SphereProps Ufe::Light::SphereInterface::sphereProps ( ) const
pure virtual

Retrieve the sphere properties for the light

Returns
the sphere properties

◆ spherePropsCmd()

virtual SpherePropsUndoableCommand::Ptr Ufe::Light::SphereInterface::spherePropsCmd ( float  radius,
bool  asPoint 
)
pure virtual

Create an undoable command to set the sphere properties. The command is not executed.

Parameters
radiusthe new sphere radius.
asPointthe flag specifying whether to treat the light as a point
Returns
Undoable command to set the sphere properties.

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