SpatialSurfaceMesh.VertexPositionScale Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.