Open 3D Engine AzFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Physics::HeightMaterialPoint Struct Reference

Public Member Functions

 HeightMaterialPoint (float height=0.0f, QuadMeshType type=QuadMeshType::SubdivideUpperLeftToBottomRight, uint8_t index=0)
 
 AZ_TYPE_INFO (HeightMaterialPoint, "{DF167ED4-24E6-4F7B-8AB7-42622F7DBAD3}")
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

float m_height { 0.0f }
 Holds the height of this point in the heightfield relative to the heightfield entity location.
 
QuadMeshType m_quadMeshType { QuadMeshType::Hole }
 By default, create an empty point.
 
uint8_t m_materialIndex { 0 }
 The surface material index for the upper left corner of this quad.
 
uint16_t m_padding { 0 }
 available for future use.
 

The documentation for this struct was generated from the following file: