Class SceneMesh
- Namespace
- easyar
Methods
getNumOfVertexAll
Get the number of vertices in meshAll.
int easyar_SceneMesh_getNumOfVertexAll(easyar_SceneMesh * This)
int getNumOfVertexAll()
public int getNumOfVertexAll()
fun getNumOfVertexAll(): Int
- (int)getNumOfVertexAll
public func getNumOfVertexAll() -> Int32
public virtual int getNumOfVertexAll()
Returns
- Int32
getNumOfIndexAll
Get the number of indices in meshAll. Since every three indices form a triangular face, the returned value should be an integer multiple of 3.
int easyar_SceneMesh_getNumOfIndexAll(easyar_SceneMesh * This)
int getNumOfIndexAll()
public int getNumOfIndexAll()
fun getNumOfIndexAll(): Int
- (int)getNumOfIndexAll
public func getNumOfIndexAll() -> Int32
public virtual int getNumOfIndexAll()
Returns
- Int32
getVerticesAll
Get the position data of vertices in meshAll (in world coordinate system). A vertex's position is described by three coordinates (x,y,z), in meters. The position data is tightly packed in the buffer as x1,y1,z1,x2,y2,z2,... Each component is of float type.
void easyar_SceneMesh_getVerticesAll(easyar_SceneMesh * This, easyar_Buffer * * Return)
std::shared_ptr<Buffer> getVerticesAll()
public @Nonnull Buffer getVerticesAll()
fun getVerticesAll(): Buffer
- (easyar_Buffer *)getVerticesAll
public func getVerticesAll() -> Buffer
public virtual Buffer getVerticesAll()
Returns
getNormalsAll
Get the normal vector data of vertices in meshAll. A vertex's normal vector is described by three components (nx,ny,nz), and this normal vector is normalized, meaning its magnitude is 1. The normal vector data is tightly packed in the buffer as nx1,ny1,nz1,nx2,ny2,nz2,... Each component is of float type.
void easyar_SceneMesh_getNormalsAll(easyar_SceneMesh * This, easyar_Buffer * * Return)
std::shared_ptr<Buffer> getNormalsAll()
public @Nonnull Buffer getNormalsAll()
fun getNormalsAll(): Buffer
- (easyar_Buffer *)getNormalsAll
public func getNormalsAll() -> Buffer
public virtual Buffer getNormalsAll()
Returns
getIndicesAll
Get the index data in meshAll. Each triangular face is composed of three indices (ix,iy,iz). The index data is tightly packed in the buffer as ix1,iy1,iz1,ix2,iy2,iz2,... Each component is of int32 type.
void easyar_SceneMesh_getIndicesAll(easyar_SceneMesh * This, easyar_Buffer * * Return)
std::shared_ptr<Buffer> getIndicesAll()
public @Nonnull Buffer getIndicesAll()
fun getIndicesAll(): Buffer
- (easyar_Buffer *)getIndicesAll
public func getIndicesAll() -> Buffer
public virtual Buffer getIndicesAll()
Returns
getNumOfVertexIncremental
Get the number of vertices in meshUpdated.
int easyar_SceneMesh_getNumOfVertexIncremental(easyar_SceneMesh * This)
int getNumOfVertexIncremental()
public int getNumOfVertexIncremental()
fun getNumOfVertexIncremental(): Int
- (int)getNumOfVertexIncremental
public func getNumOfVertexIncremental() -> Int32
public virtual int getNumOfVertexIncremental()
Returns
- Int32
getNumOfIndexIncremental
Get the number of indices in meshUpdated.
int easyar_SceneMesh_getNumOfIndexIncremental(easyar_SceneMesh * This)
int getNumOfIndexIncremental()
public int getNumOfIndexIncremental()
fun getNumOfIndexIncremental(): Int
- (int)getNumOfIndexIncremental
public func getNumOfIndexIncremental() -> Int32
public virtual int getNumOfIndexIncremental()
Returns
- Int32
getVerticesIncremental
Get the position data of vertices in meshUpdated (in world coordinate system). A vertex's position is described by three coordinates (x,y,z), in meters. The vertex data is tightly packed in the buffer as x1,y1,z1,x2,y2,z2,... Each component is of float type.
void easyar_SceneMesh_getVerticesIncremental(easyar_SceneMesh * This, easyar_Buffer * * Return)
std::shared_ptr<Buffer> getVerticesIncremental()
public @Nonnull Buffer getVerticesIncremental()
fun getVerticesIncremental(): Buffer
- (easyar_Buffer *)getVerticesIncremental
public func getVerticesIncremental() -> Buffer
public virtual Buffer getVerticesIncremental()
Returns
getNormalsIncremental
Get the normal vector data of vertices in meshUpdated (in world coordinate system). A vertex's normal vector is described by three components (nx,ny,nz), and this normal vector is normalized, meaning its magnitude is 1. The normal vector data is tightly packed in the buffer as nx1,ny1,nz1,nx2,ny2,nz2,... Each component is of float type.
void easyar_SceneMesh_getNormalsIncremental(easyar_SceneMesh * This, easyar_Buffer * * Return)
std::shared_ptr<Buffer> getNormalsIncremental()
public @Nonnull Buffer getNormalsIncremental()
fun getNormalsIncremental(): Buffer
- (easyar_Buffer *)getNormalsIncremental
public func getNormalsIncremental() -> Buffer
public virtual Buffer getNormalsIncremental()
Returns
getIndicesIncremental
Get all triangular faces' indices in meshUpdated. Each triangular face is composed of three indices (ix,iy,iz). The index data is tightly packed in the buffer as ix1,iy1,iz1,ix2,iy2,iz2,... Each component is of int32 type.
void easyar_SceneMesh_getIndicesIncremental(easyar_SceneMesh * This, easyar_Buffer * * Return)
std::shared_ptr<Buffer> getIndicesIncremental()
public @Nonnull Buffer getIndicesIncremental()
fun getIndicesIncremental(): Buffer
- (easyar_Buffer *)getIndicesIncremental
public func getIndicesIncremental() -> Buffer
public virtual Buffer getIndicesIncremental()
Returns
getBlocksInfoIncremental
Get the description object of mesh-block in meshUpdated. The return value is an array composed of BlockInfo, where each element is a detailed description of a mesh-block's information.
void easyar_SceneMesh_getBlocksInfoIncremental(easyar_SceneMesh * This, easyar_ListOfBlockInfo * * Return)
std::vector<BlockInfo> getBlocksInfoIncremental()
public java.util.@Nonnull ArrayList<@Nonnull BlockInfo> getBlocksInfoIncremental()
fun getBlocksInfoIncremental(): ArrayList<BlockInfo>
- (NSArray<easyar_BlockInfo *> *)getBlocksInfoIncremental
public func getBlocksInfoIncremental() -> [BlockInfo]
public virtual List<BlockInfo> getBlocksInfoIncremental()
Returns
- List<BlockInfo>
getBlockDimensionInMeters
Get the side length of a mesh-block, in meters.
float easyar_SceneMesh_getBlockDimensionInMeters(easyar_SceneMesh * This)
float getBlockDimensionInMeters()
public float getBlockDimensionInMeters()
fun getBlockDimensionInMeters(): Float
- (float)getBlockDimensionInMeters
public func getBlockDimensionInMeters() -> Float
public virtual float getBlockDimensionInMeters()
Returns
- Single