Open 3D Engine Vegetation Gem 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.
Vegetation::InstanceData Struct Referencefinal

#include <InstanceData.h>

Public Member Functions

 AZ_RTTI (InstanceData, "{1DD3D37D-0855-44F9-94F8-76F0128491A1}")
 
 AZ_CLASS_ALLOCATOR (InstanceData, AZ::SystemAllocator)
 

Static Public Member Functions

static bool IsSameInstanceData (const InstanceData &lhs, const InstanceData &rhs)
 
static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

AZ::EntityId m_id
 
InstanceId m_instanceId = InvalidInstanceId
 
AZ::u32 m_changeIndex = {}
 
AZ::Vector3 m_position = {}
 
AZ::Vector3 m_normal = AZ::Vector3::CreateAxisZ()
 
AZ::Quaternion m_rotation = AZ::Quaternion::CreateIdentity()
 
AZ::Quaternion m_alignment = AZ::Quaternion::CreateIdentity()
 
float m_scale = 1.0f
 
SurfaceData::SurfaceTagWeights m_masks
 
DescriptorPtr m_descriptorPtr
 

Detailed Description

Defines configuration used to create a vegetation instance


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