Altus Mapping Engine JavaScript API Reference - v2.0.ut.2153.g60764257e - Tuesday May 16, 2022 SDK Documentation | Builds | BA3 Home
AltusUnified::ModelHit Class Reference

Public Member Functions

 ModelHit ()
 
 ModelHit (string mapName, Model model, uint index, vec2d screenPoint, vec3d worldHitPoint, float distanceFromCamera)
 
vec2d screenPoint ()
 
void screenPoint_set (vec2d val)
 
vec3d worldHitPoint ()
 
void worldHitPoint_set (vec3d val)
 

Public Attributes

string mapName
 
ModelPtr model
 
uint index
 
float distanceFromCamera
 

Constructor & Destructor Documentation

AltusUnified::ModelHit::ModelHit ( )
AltusUnified::ModelHit::ModelHit ( string  mapName,
Model  model,
uint  index,
vec2d  screenPoint,
vec3d  worldHitPoint,
float  distanceFromCamera 
)

Member Function Documentation

vec2d AltusUnified::ModelHit::screenPoint ( )
void AltusUnified::ModelHit::screenPoint_set ( vec2d  val)
vec3d AltusUnified::ModelHit::worldHitPoint ( )
void AltusUnified::ModelHit::worldHitPoint_set ( vec3d  val)

Member Data Documentation

float AltusUnified::ModelHit::distanceFromCamera
uint AltusUnified::ModelHit::index
string AltusUnified::ModelHit::mapName
ModelPtr AltusUnified::ModelHit::model