Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ XR Studio

Shader CollisionBillboard (Legacy)

  • Last UpdatedApr 02, 2025
  • 1 minute read

The CollisionBillboard shader has the following characteristics.

  • Billboard

  • Collision

Explanation

  • This type of mesh is used internally by the collision code.

  • The same notes as the Mesh Billboard apply.

Code example

This is a code example for CollisionBillboard shader.

$Shader

{

szName = CollisionBillboard

szBillboardType = YAxis

}

Parameters

szBillboardType

  • Billboard type, must be one of these values:

    • Screen: Screen aligned, always remains aligned to the screen.

    • YAxis: Y Axis aligned, always remains aligned with the camera except on the Y axis.

  • YAxisViewpoint: Y Axis viewpoint aligned. Similar to YAxis; however, when looking at "bias" the polygon remains slightly rotated instead of always remaining flat with respect to the camera.

fViewpointOffset

  • Moves the viewpoint position during the calculation of the YAxisViewpoint Billboard matrix.

  • The offset is calculated on the camera's direction, so a positive value will move it in front of the camera.

  • Valid only for YAxisViewpoint type billboards.

  • Default: 0.0

  • Range: [-inf..inf]

In This Topic
TitleResults for “How to create a CRG?”Also Available in