Share via


SpatialSurfaceMesh.VertexPositionScale Property

Definition

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

public:
 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

float3

The scale vector.

Remarks

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