Murl Engine Lua Addon API  Version 1.0 beta
Murl.Graph.IShearable

The IShearable property interface.

This interface provides setting and retrieving of a shear factor.

Animation controllers may call the SetShearFactor() method when shearing keys are present in a given Resource::IAnimation.


Table members

Methods


SetShearFactorX(xy, xz)

Set the shearing factor for the X axis as a function of both the Y and Z axes.

Boolean SetShearFactorX(Number xy, Number xz)

Parameters
xyThe shearing factor for X relative to the Y axis.
xzThe shearing factor for X relative to the Z axis.
Returns
Boolean true if successful.

SetShearFactorY(yx, yz)

Set the shearing factor for the Y axis as a function of both the X and Z axes.

Boolean SetShearFactorY(Number yx, Number yz)

Parameters
yxThe shearing factor for Y relative to the X axis.
yzThe shearing factor for Y relative to the Z axis.
Returns
Boolean true if successful.

SetShearFactorZ(zx, zy)

Set the shearing factor for the Z axis as a function of both the X and Y axes.

Boolean SetShearFactorZ(Number zx, Number zy)

Parameters
zxThe shearing factor for Z relative to the X axis.
zyThe shearing factor for Z relative to the Y axis.
Returns
Boolean true if successful.

SetShearFactorXY(xy)

Set the shearing factor for the X axis as a function of the Y axis.

Boolean SetShearFactorXY(Number xy)

Parameters
xyThe shearing factor for X relative to the Y axis.
Returns
Boolean true if successful.

SetShearFactorXZ(xz)

Set the shearing factor for the X axis as a function of the Z axis.

Boolean SetShearFactorXZ(Number xz)

Parameters
xzThe shearing factor for X relative to the Z axis.
Returns
Boolean true if successful.

SetShearFactorYX(yx)

Set the shearing factor for the Y axis as a function of the X axis.

Boolean SetShearFactorYX(Number yx)

Parameters
yxThe shearing factor for Y relative to the X axis.
Returns
Boolean true if successful.

SetShearFactorYZ(yz)

Set the shearing factor for the Y axis as a function of the Z axis.

Boolean SetShearFactorYZ(Number yz)

Parameters
yzThe shearing factor for Y relative to the Z axis.
Returns
Boolean true if successful.

SetShearFactorZX(zx)

Set the shearing factor for the Z axis as a function of the X axis.

Boolean SetShearFactorZX(Number zx)

Parameters
zxThe shearing factor for Z relative to the X axis.
Returns
Boolean true if successful.

SetShearFactorZY(zy)

Set the shearing factor for the Z axis as a function of the Y axis.

Boolean SetShearFactorZY(Number zy)

Parameters
zyThe shearing factor for Z relative to the Y axis.
Returns
Boolean true if successful.

GetShearFactorXY()

Get the shear factor for the X axis as a function of Y.

Number GetShearFactorXY()

Returns
Number The shear factor for the X axis relative to Y.

GetShearFactorXZ()

Get the shear factor for the X axis as a function of Z.

Number GetShearFactorXZ()

Returns
Number The shear factor for the X axis relative to Z.

GetShearFactorYX()

Get the shear factor for the Y axis as a function of X.

Number GetShearFactorYX()

Returns
Number The shear factor for the Y axis relative to X.

GetShearFactorYZ()

Get the shear factor for the Y axis as a function of Z.

Number GetShearFactorYZ()

Returns
Number The shear factor for the Y axis relative to Z.

GetShearFactorZX()

Get the shear factor for the Z axis as a function of X.

Number GetShearFactorZX()

Returns
Number The shear factor for the Z axis relative to X.

GetShearFactorZY()

Get the shear factor for the Z axis as a function of Y.

Number GetShearFactorZY()

Returns
Number The shear factor for the Z axis relative to Y.