Class SceneMesh
- Namespace
- easyar
Methods
getNumOfVertexAll
Gets 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
| Type | Description |
|---|---|
| Int32 |
getNumOfIndexAll
Gets the number of indices in meshAll. Since every 3 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
| Type | Description |
|---|---|
| Int32 |
getVerticesAll
Gets the position data of vertices in meshAll in the world coordinate system. The position of a vertex is described by three coordinates (x,y,z), in meters. Position data is tightly arranged in 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
| Type | Description |
|---|---|
| Buffer |
getNormalsAll
Gets the normal vector data of vertices in meshAll. The normal vector of a vertex is described by three components (nx,ny,nz). The normal vector is normalized, that is, its length is 1. Normal vector data is tightly arranged in 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
| Type | Description |
|---|---|
| Buffer |
getIndicesAll
Gets the index data in meshAll. Each triangular face consists of three indices (ix,iy,iz). Index data is tightly arranged in 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
| Type | Description |
|---|---|
| Buffer |
getNumOfVertexIncremental
Gets 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
| Type | Description |
|---|---|
| Int32 |
getNumOfIndexIncremental
Gets 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
| Type | Description |
|---|---|
| Int32 |
getVerticesIncremental
Gets the position data of vertices in meshUpdated in the world coordinate system. The position of a vertex is described by three coordinates (x,y,z), in meters. Vertex data is tightly arranged in 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
| Type | Description |
|---|---|
| Buffer |
getNormalsIncremental
Gets the normal vector data of vertices in meshUpdated in the world coordinate system. The normal vector of a vertex is described by three components (nx,ny,nz). The normal vector is normalized, that is, its length is 1. Normal vector data is tightly arranged in 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
| Type | Description |
|---|---|
| Buffer |
getIndicesIncremental
Gets the indices of all triangular faces in meshUpdated. Each triangular face consists of three indices (ix,iy,iz). Index data is tightly arranged in 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
| Type | Description |
|---|---|
| Buffer |
getBlocksInfoIncremental
Gets the description objects of mesh blocks in meshUpdated. The return value is an array of BlockInfo, where each element is a detailed description of the information of one mesh block.
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
| Type | Description |
|---|---|
| List<BlockInfo> |
getBlockDimensionInMeters
Gets 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
| Type | Description |
|---|---|
| Single |