Name | Summary |
---|---|
mesh | : Uri of the mesh to be rendered |
hittable | : MeshCollision type, used to determine how a mesh is hit tested |
defaultShaderOverride | : String of the default shader to be used for the mesh |
defaultSceneOverride | : Int of the default scene to be used for the mesh |
Name | Summary |
---|---|
Mesh | constructor(mesh: <Error class: unknown class> = Uri.parse("about:blank"), hittable: MeshCollision = MeshCollision.LineTest, defaultShaderOverride: String = "", defaultSceneOverride: Int = -1) |
Name | Summary |
---|---|
Companion | object Companion : ComponentCompanion |
Name | Summary |
---|---|
cachable | open val cachable: Boolean = false |
creationTime | var creationTime: Long |
defaultSceneOverride | var defaultSceneOverride: Int : Int of the default scene to be used for the mesh |
defaultShaderOverride | var defaultShaderOverride: String : String of the default shader to be used for the mesh |
hittable | var hittable: MeshCollision : MeshCollision type, used to determine how a mesh is hit tested |
isDirty | var isDirty: Boolean |
mesh | var mesh: <Error class: unknown class> : Uri of the mesh to be rendered |
meshInternal | var meshInternal: String : Internal string representation of the mesh |
recycled | var recycled: Boolean |
Name | Summary |
---|---|
getComponentDataAttributeType | fun getComponentDataAttributeType(key: Int): AttributePrimitive? fun getComponentDataAttributeType(keyString: String): AttributePrimitive? |
getComponentDataKey | fun getComponentDataKey(key: String): Int? |
getComponentDataValue | fun getComponentDataValue(key: Int): Any? fun getComponentDataValue(keyString: String): Any? |
getEnumClass | fun getEnumClass(key: String): Class<out Enum<*>>? |
hasComponentData | fun hasComponentData(key: Int): Boolean fun hasComponentData(keyString: String): Boolean |
read | fun read(e: Entity, cachable: Boolean) |
recycle | fun recycle() |
reset | open fun reset() |
setComponentDataValue | fun setComponentDataValue(key: Int, value: Any?): Boolean fun setComponentDataValue(keyString: String, value: Any?): Boolean |
setPool | fun setPool(pool: ComponentPool<*>) |
toString | open override fun toString(): String |
typeID | open override fun typeID(): Int |
write | fun write(e: Entity) |
Name | Summary |
---|---|
createDefaultInstance | open override val createDefaultInstance: () -> Mesh |
id | open override val id: <Error class: unknown class> |
Name | Summary |
---|---|
dependents | open fun dependents(): IntArray |