Navigation
API > API/Plugins > API/Plugins/MutableRuntime > API/Plugins/MutableRuntime/FModel
Description
Return the default value of a projector parameter, as a 4x4 matrix. The matrix is supposed to be a linear transform in column-major.
The parameter specified by index is a T_PROJECTOR.
| Name | GetProjectorDefaultValue |
| Type | function |
| Header File | /Engine/Plugins/Mutable/Source/MutableRuntime/Public/MuR/Model.h |
| Include Path | #include "MuR/Model.h" |
| Source | /Engine/Plugins/Mutable/Source/MutableRuntime/Private/MuR/Model.cpp |
void GetProjectorDefaultValue
(
int32 Index,
EProjectorType * OutProjectionType,
FVector3f * OutPos,
FVector3f * OutDir,
FVector3f * OutUp,
FVector3f * OutScale,
float * OutProjectionAngle
) const
Parameters
| Name | Remarks |
|---|---|
| Index | Index of the parameter from 0 to GetCount()-1 |
| OutPos | Pointer to where the object-space position coordinates of the projector will be stored. |
| OutDir | Pointer to where the object-space direction vector of the projector will be stored. |
| OutUp | Pointer to where the object-space vertically up direction vector of the projector will be stored. This controls the "roll" angle of the projector. |
| OutScale | Pointer to the projector-space scaling of the projector. |