Workspace 6.21.5
GenerateProjectiveTextureCoordinates

Assigns texture coordinates to a MeshModel that allow a 2D texture to be projected onto it based on the camera's view frustum.

  • Default label: "Project 2D texture co-ordinates"
  • Member of plug-in: Rendering
  • Catalogue path: Scene
Inputs:
State name SQString

State name TQString

CameraCSIRO::Rendering::Camera

World transformCSIRO::Mesh::TransformMatrixThe transform matrix that will be used to place the model in world space. The same transform matrix should be used to place an instance of the model in a scene using the MeshModelInstanceBuilder, otherwise unexpected results may occur.
Mesh modelCSIRO::Mesh::MeshModelInterface

Outputs:
Mesh modelCSIRO::Mesh::MeshModelInterface