Lib.render.analyze.GetScreenPos - tixl3d/tixl GitHub Wiki

GetScreenPos

in Lib.render.analyze


Returns the given position in screen space coordinates.

This can be useful to attach labels or annotations to objects rendered by a camera.

Please checkout the example.


Input Parameters

Name (Relevancy & Type) Description
LocalPosition (Vector3) Optional offset to the converted position
SetDepthToZero (Boolean) Sets the z-component of the view space coordinate to z.
In most case, this is what you want for using directly as screen space position.

Outputs

Name Type
UpdateCommand T3.Core.DataTypes.Command
Position System.Numerics.Vector3

Please help use to improve this documentation. Feel free to improve the description.

⚠ Everything else is automatically generated and will be overwritten regularly.

⚠️ **GitHub.com Fallback** ⚠️