SpatialSurfaceMesh.VertexPositionScale Property


Gets the scale vector that you must use to scale the elements of VertexPositions.

 property float3 VertexPositionScale { float3 get(); };
float3 VertexPositionScale();
public Vector3 VertexPositionScale { get; }
var vector3 = spatialSurfaceMesh.vertexPositionScale;
Public ReadOnly Property VertexPositionScale As Vector3

Property Value

Vector3 Vector3


The scale vector.


This gets you mesh coordinates in meters in the mesh's specified coordinate system.

If you are otherwise transforming these coordinates to another coordinate system before using them anyway, you can make a scale matrix from the VertexPositionScale vector and include that as the first matrix in your transform chain.

Applies to