![]() |
Murl Engine API
Version 2018.3
|
The IScalable property interface. More...
#include <murl_graph_i_scalable.h>
The IScalable property interface.
This interface provides setting and retrieving of a scale factor, either as a uniform value or individual values for scaling along the X, Y and Z axes.
Animation controllers may call the SetScaleFactor() method when scaling keys are present in a given Resource::IAnimation.
Public Member Functions | |
virtual Bool | SetScaleFactor (const Vector &scaleFactor)=0 |
Set individual scaling factors for the X, Y and Z axes. More... | |
virtual Bool | SetScaleFactor (Real x, Real y, Real z)=0 |
Set individual scaling factors for the X, Y and Z axes. More... | |
virtual Bool | SetScaleFactor (Real s)=0 |
Set a uniform scaling factor for all three axes. More... | |
virtual Bool | SetScaleFactorX (Real x)=0 |
Set the scaling factor for the X axis only. More... | |
virtual Bool | SetScaleFactorY (Real y)=0 |
Set the scaling factor for the Y axis only. More... | |
virtual Bool | SetScaleFactorZ (Real z)=0 |
Set the scaling factor for the Z axis only. More... | |
virtual const Vector & | GetScaleFactor () const =0 |
Get the scaling factors for the X, Y and Z axes. More... | |
virtual Real | GetScaleFactorX () const =0 |
Get the scaling factor for the X axis. More... | |
virtual Real | GetScaleFactorY () const =0 |
Get the scaling factor for the Y axis. More... | |
virtual Real | GetScaleFactorZ () const =0 |
Get the scaling factor for the Z axis. More... | |
Set individual scaling factors for the X, Y and Z axes.
scaleFactor | A vector containing individual scale factors. |
Set individual scaling factors for the X, Y and Z axes.
x | The scale factor for the X axis. |
y | The scale factor for the Y axis. |
z | The scale factor for the Z axis. |
Set a uniform scaling factor for all three axes.
s | The scale factor for the X, Y and Z axes. |
Set the scaling factor for the X axis only.
x | The scale factor for the X axis. |
Set the scaling factor for the Y axis only.
y | The scale factor for the Y axis. |
Set the scaling factor for the Z axis only.
z | The scale factor for the Z axis. |
|
pure virtual |
Get the scaling factors for the X, Y and Z axes.
|
pure virtual |
Get the scaling factor for the X axis.
|
pure virtual |
Get the scaling factor for the Y axis.
|
pure virtual |
Get the scaling factor for the Z axis.