InlineInstance.kl¶
Types¶
InlineInstance (object)¶
バージョン 1.12.0 で追加.
The InlineInstance represents a drawable instance of an InlineShape using an InlineTransform. InlineInstance objects are stored within an InlineMaterial.
Methods¶
InlineInstance ( in InlineInstance other ) | |
InlineInstance ( in String name, in InlineTransform transform, in InlineShape shape ) | |
InlineInstance ( in String name, in InlineTransform transform, in InlineShape shape, in Boolean active ) | |
InlineInstance ( in String name, in InlineTransform transform, in InlineShape shape, in Boolean active, in Boolean ownsMaterial, io InlineMaterial material ) | |
InlineInstance ( in String name, in InlineTransform transform, in InlineShape shape, in Boolean active, io InlineMaterial material ) | |
InlineInstance ( in String name, in InlineTransform transform, in InlineShape shape, io InlineMaterial material ) | |
InlineInstance () | |
addMaterial ! ( io InlineMaterial material ) | |
InlineInstance | clone ? () |
Boolean | containsUniforms ? () |
Boolean | draw ! ( io DrawContext context ) |
InlineUniform | getInstanceUniform ? ( in String name ) |
String | getMappedAttributeName ? ( in String name ) |
InlineMaterial | getMaterial ? ( in Index index ) |
Size | getNumMaterials ? () |
String | getPath ? () |
InlineShape | getShape ? () |
InlineTransform | getTransform ? () |
InlineUniform | getTransformUniform ? ( in String name, in Index index ) |
Boolean | hasInstanceUniform ? ( in String name ) |
Boolean | hasMaterial ? ( in InlineMaterial material ) |
Boolean | hasTransformUniform ? ( in String name, in Index index ) |
Boolean | isActive ? () |
GeometryLocation[] | raycast ? ( in Ray ray, in Boolean closest, in Boolean doubleSided, in Scalar coneThreshold, in Scalar maxDistance ) |
removeMaterial ! ( io InlineMaterial material ) | |
Boolean | removeMaterial ! ( io Ref<InlineMaterial> material ) |
setActive ! ( in Boolean active ) | |
setInstanceUniform ! ( in InlineUniform uniform ) | |
setMappedAttributeName ! ( in String shaderAttribute, in String geometryAttribute ) | |
setShape ! ( in InlineShape shape ) | |
setTransform ! ( in InlineTransform transform ) | |
setTransformUniform ! ( in InlineUniform uniform, in Index index ) | |
~InlineInstance () |