InstancedMesh class
class InstancedMesh
- Inheritance
-
- Object
- Node
- TransformNode
- AbstractMesh
- InstancedMesh
- Annotations
-
- @JS()
Constructors
- InstancedMesh(String name, Mesh source)
Properties
- absolutePosition → Vector3
-
no setterinherited
- absoluteRotationQuaternion → Quaternion
-
no setterinherited
- absoluteScaling → Vector3
-
no setterinherited
- actionManager ↔ AbstractActionManager
-
getter/setter pairinherited
- alphaIndex ↔ num
-
getter/setter pairinherited
- alwaysSelectAsActiveMesh ↔ bool
-
getter/setter pairinherited
-
animations
↔ List<
Animation> -
getter/setter pairinherited
- applyFog ↔ bool
-
getter/setter pairinherited
-
behaviors
→ List<
Behavior< Node> > -
no setterinherited
- billboardMode ↔ num
-
getter/setter pairinherited
- BILLBOARDMODE_ALL → num
-
no setterinherited
- BILLBOARDMODE_NONE → num
-
no setterinherited
- BILLBOARDMODE_USE_POSITION → num
-
no setterinherited
- BILLBOARDMODE_X → num
-
no setterinherited
- BILLBOARDMODE_Y → num
-
no setterinherited
- BILLBOARDMODE_Z → num
-
no setterinherited
- checkCollisions ↔ bool
-
getter/setter pairinherited
- collisionGroup ↔ num
-
getter/setter pairinherited
- collisionMask ↔ num
-
getter/setter pairinherited
- collisionResponse ↔ bool
-
getter/setter pairinherited
- computeBonesUsingShaders ↔ bool
-
getter/setter pairinherited
- cullingStrategy ↔ num
-
getter/setter pairinherited
- definedFacingForward ↔ bool
-
getter/setter pairinherited
- doNotSerialize ↔ bool
-
getter/setter pairinherited
- doNotSyncBoundingInfo ↔ bool
-
getter/setter pairinherited
- edgesColor ↔ Color4
-
getter/setter pairinherited
- edgesWidth ↔ num
-
getter/setter pairinherited
- ellipsoid ↔ Vector3
-
getter/setter pairinherited
- ellipsoidOffset ↔ Vector3
-
getter/setter pairinherited
- enablePointerMoveEvents ↔ bool
-
getter/setter pairinherited
- facetDepthSortFrom ↔ Vector3
-
getter/setter pairinherited
- facetNb → num
-
no setterinherited
- forward → Vector3
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasInstances → bool
-
no setterinherited
- hasThinInstances → bool
-
no setterinherited
- hasVertexAlpha ↔ bool
-
getter/setter pairinherited
- id ↔ String
-
getter/setter pairinherited
- ignoreNonUniformScaling ↔ bool
-
getter/setter pairinherited
- infiniteDistance ↔ bool
-
getter/setter pairinherited
- isAnInstance → bool
-
no setteroverride
- isBlocked → bool
-
no setterinherited
- isBlocker ↔ bool
-
getter/setter pairinherited
- isFacetDataEnabled → bool
-
no setterinherited
- isOccluded ↔ bool
-
getter/setter pairinherited
- isOcclusionQueryInProgress ↔ bool
-
getter/setter pairinherited
- isPickable ↔ bool
-
getter/setter pairinherited
- isVisible ↔ bool
-
getter/setter pairinherited
- isWorldMatrixFrozen → bool
-
no setterinherited
- layerMask ↔ num
-
getter/setter pairinherited
-
lightSources
→ List<
Light> -
no setteroverride
- material ↔ Material
-
getter/setter pairinherited-setteroverride-getter
- metadata ↔ dynamic
-
getter/setter pairinherited
- mustDepthSortFacets ↔ bool
-
getter/setter pairinherited
- name ↔ String
-
getter/setter pairinherited
- nonUniformScaling → bool
-
no setterinherited
- numBoneInfluencers ↔ num
-
getter/setter pairinherited
- occlusionQueryAlgorithmType ↔ num
-
getter/setter pairinherited
- occlusionRetryCount ↔ num
-
getter/setter pairinherited
- occlusionType ↔ num
-
getter/setter pairinherited
-
onAfterWorldMatrixUpdateObservable
↔ Observable<
TransformNode> -
getter/setter pairinherited
- onCollide ← void Function()
-
no getterinherited
-
onCollideObservable
↔ Observable<
AbstractMesh> -
getter/setter pairinherited
- onCollisionPositionChange ← void Function()
-
no getterinherited
-
onCollisionPositionChangeObservable
↔ Observable<
Vector3> -
getter/setter pairinherited
- onDispose ← void Function()
-
no getterinherited
-
onDisposeObservable
↔ Observable<
Node> -
getter/setter pairinherited
-
onMaterialChangedObservable
↔ Observable<
AbstractMesh> -
getter/setter pairinherited
- onReady ↔ void Function(Node node)
-
getter/setter pairinherited
-
onRebuildObservable
↔ Observable<
AbstractMesh> -
getter/setter pairinherited
- outlineColor ↔ Color3
-
getter/setter pairinherited
- outlineWidth ↔ num
-
getter/setter pairinherited
- overlayAlpha ↔ num
-
getter/setter pairinherited
- overlayColor ↔ Color3
-
getter/setter pairinherited
- parent ↔ Node
-
getter/setter pairinherited
- partitioningBBoxRatio ↔ num
-
getter/setter pairinherited
- partitioningSubdivisions ↔ num
-
getter/setter pairinherited
- physicsImpostor ↔ PhysicsImpostor
-
getter/setter pairinherited
- position ↔ Vector3
-
getter/setter pairinherited
- preserveParentRotationForBillboard ↔ bool
-
getter/setter pairinherited
- receiveShadows ↔ bool
-
getter/setter pairinherited-setteroverride-getter
- reIntegrateRotationIntoRotationQuaternion ↔ bool
-
getter/setter pairinherited
- renderingGroupId ↔ num
-
getter/setter pairoverride
- renderOutline ↔ bool
-
getter/setter pairinherited
- renderOverlay ↔ bool
-
getter/setter pairinherited
- reservedDataStore ↔ dynamic
-
getter/setter pairinherited
- right → Vector3
-
no setterinherited
- rotation ↔ Vector3
-
getter/setter pairinherited
- rotationQuaternion ↔ Quaternion
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaling ↔ Vector3
-
getter/setter pairinherited
- scalingDeterminant ↔ num
-
getter/setter pairinherited
- showBoundingBox ↔ bool
-
getter/setter pairinherited
- showSubMeshesBoundingBox ↔ bool
-
getter/setter pairinherited
- skeleton ↔ Skeleton
-
getter/setter pairinherited-setteroverride-getter
- sourceMesh → Mesh
-
no setter
- state ↔ String
-
getter/setter pairinherited
-
subMeshes
↔ List<
SubMesh> -
getter/setter pairinherited
-
surroundingMeshes
↔ List<
AbstractMesh> -
getter/setter pairinherited
- uniqueId ↔ num
-
getter/setter pairinherited
- up → Vector3
-
no setterinherited
- useBones → bool
-
no setterinherited
- useOctreeForCollisions ↔ bool
-
getter/setter pairinherited
- useOctreeForPicking ↔ bool
-
getter/setter pairinherited
- useOctreeForRenderingSelection ↔ bool
-
getter/setter pairinherited
- useVertexColors ↔ bool
-
getter/setter pairinherited
- visibility ↔ num
-
getter/setter pairinherited-setteroverride-getter
- worldMatrixFromCache → Matrix
-
no setterinherited
Methods
-
addBehavior(
Behavior< Node> behavior) → Node -
inherited
-
addChild(
AbstractMesh mesh) → AbstractMesh -
inherited
-
addRotation(
num x, num y, num z) → TransformNode -
inherited
-
alignWithNormal(
Vector3 normal, [Vector3 upDirection]) → AbstractMesh -
inherited
-
applyImpulse(
Vector3 force, Vector3 contactPoint) → AbstractMesh -
inherited
-
attachToBone(
Bone bone, TransformNode affectedTransformNode) → TransformNode -
inherited
-
calcMovePOV(
num amountRight, num amountUp, num amountForward) → Vector3 -
inherited
-
calcRotatePOV(
num flipBack, num twirlClockwise, num tiltRight) → Vector3 -
inherited
-
clone(
String name, Node newParent, [bool doNotCloneChildren]) → InstancedMesh -
override
-
computeWorldMatrix(
[bool force]) → Matrix -
inherited
-
createAnimationRange(
String name, num from, num to) → void -
inherited
-
createInstance(
String name) → InstancedMesh -
createNormals(
bool updatable) → AbstractMesh -
inherited
-
deleteAnimationRange(
String name, [bool deleteFrames]) → void -
inherited
-
detachFromBone(
) → TransformNode -
inherited
-
disableEdgesRendering(
) → AbstractMesh -
inherited
-
disableFacetData(
) → AbstractMesh -
inherited
-
dispose(
[bool doNotRecurse, bool disposeMaterialAndTextures]) → void -
override
-
enableEdgesRendering(
[num epsilon, bool checkVerticesInsteadOfIndices, IEdgesRendererOptions options]) → AbstractMesh -
inherited
-
freezeWorldMatrix(
[Matrix newWorldMatrix]) → TransformNode -
inherited
-
getAbsolutePivotPoint(
) → Vector3 -
inherited
-
getAbsolutePivotPointToRef(
Vector3 result) → TransformNode -
inherited
-
getAbsolutePosition(
) → Vector3 -
inherited
-
getAnimationByName(
String name) → Animation -
inherited
-
getBehaviorByName(
String name) → Behavior< Node> -
inherited
-
getBoundingInfo(
) → BoundingInfo -
inherited
-
getChildMeshes(
[bool directDescendantsOnly, bool predicate(Node node)]) → List< AbstractMesh> -
inherited
-
getChildren(
[bool predicate(Node node), bool directDescendantsOnly]) → List< Node> -
inherited
-
getChildTransformNodes(
[bool directDescendantsOnly, bool predicate(Node node)]) → List< TransformNode> -
inherited
-
getClassName(
) → String -
override
-
getClosestFacetAtCoordinates(
num x, num y, num z, [Vector3 projected, bool checkFace, bool facing]) → num -
inherited
-
getClosestFacetAtLocalCoordinates(
num x, num y, num z, [Vector3 projected, bool checkFace, bool facing]) → num -
inherited
-
getConnectedParticleSystems(
) → List< IParticleSystem> -
inherited
-
getDescendants(
[bool directDescendantsOnly, bool predicate(Node node)]) → List< Node> -
inherited
-
getDirection(
Vector3 localAxis) → Vector3 -
inherited
-
getDirectionToRef(
Vector3 localAxis, Vector3 result) → TransformNode -
inherited
-
getDistanceToCamera(
[Camera camera]) → num -
inherited
-
getEngine(
) → Engine -
inherited
-
getFacetDataParameters(
) → dynamic -
inherited
-
getFacetLocalNormals(
) → List< Vector3> -
inherited
-
getFacetLocalPartitioning(
) → List< num> -
inherited
-
getFacetLocalPositions(
) → List< Vector3> -
inherited
-
getFacetNormal(
num i) → Vector3 -
inherited
-
getFacetNormalToRef(
num i, Vector3 ref) → AbstractMesh -
inherited
-
getFacetPosition(
num i) → Vector3 -
inherited
-
getFacetPositionToRef(
num i, Vector3 ref) → AbstractMesh -
inherited
-
getFacetsAtLocalCoordinates(
num x, num y, num z) → List< num> -
inherited
-
getIndices(
[bool forceCopy]) → Int32List -
override
-
getLOD(
Camera camera) → AbstractMesh -
override
-
getPhysicsImpostor(
) → PhysicsImpostor -
inherited
-
getPivotMatrix(
) → Matrix -
inherited
-
getPivotPoint(
) → Vector3 -
inherited
-
getPivotPointToRef(
Vector3 result) → TransformNode -
inherited
-
getPoseMatrix(
) → Matrix -
inherited
-
getPositionExpressedInLocalSpace(
) → Vector3 -
inherited
-
getPositionInCameraSpace(
[Camera camera]) → Vector3 -
inherited
-
getScene(
) → Scene -
inherited
-
getTotalIndices(
) → num -
override
-
getTotalVertices(
) → num -
override
-
getVerticesData(
String kind, [bool forceCopy]) → Float32List -
override
-
getWorldMatrix(
) → Matrix -
override
-
instantiateHierarchy(
[TransformNode newParent, TransformNodeInstantiateHierarchyOptions options, void onNewNodeCreated(TransformNode source, TransformNode clone)]) → TransformNode -
inherited
-
intersectsPoint(
Vector3 point) → bool -
inherited
-
isCompletelyInFrustum(
List< Plane> frustumPlanes) → bool -
inherited
-
isDescendantOf(
Node ancestor) → bool -
inherited
-
isDisposed(
) → bool -
inherited
-
isEnabled(
[bool checkAncestors]) → bool -
inherited
-
isInFrustum(
List< Plane> frustumPlanes) → bool -
inherited
-
isReady(
[bool completeCheck]) → bool -
override
-
isSynchronized(
) → bool -
inherited
-
isSynchronizedWithParent(
) → bool -
inherited
-
isVerticesDataPresent(
String kind) → bool -
override
-
locallyTranslate(
Vector3 vector3) → TransformNode -
inherited
-
lookAt(
Vector3 targetPoint, [num yawCor, num pitchCor, num rollCor, Space space]) → TransformNode -
inherited
-
markAsDirty(
String property) → TransformNode -
inherited
-
movePOV(
num amountRight, num amountUp, num amountForward) → AbstractMesh -
inherited
-
moveWithCollisions(
Vector3 displacement) → AbstractMesh -
inherited
-
normalizeToUnitCube(
[bool includeDescendants, bool ignoreRotation, bool predicate(AbstractMesh node)]) → AbstractMesh -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refreshBoundingInfo(
[bool applySkeleton]) → InstancedMesh -
override
-
registerAfterWorldMatrixUpdate(
void func(TransformNode mesh)) → TransformNode -
inherited
-
releaseSubMeshes(
) → AbstractMesh -
inherited
-
removeBehavior(
Behavior< Node> behavior) → Node -
inherited
-
removeChild(
AbstractMesh mesh) → AbstractMesh -
inherited
-
resetLocalMatrix(
[bool independentOfChildren]) → void -
inherited
-
rotate(
Vector3 axis, num amount, [Space space]) → TransformNode -
inherited
-
rotateAround(
Vector3 point, Vector3 axis, num amount) → TransformNode -
inherited
-
rotatePOV(
num flipBack, num twirlClockwise, num tiltRight) → AbstractMesh -
inherited
-
serialize(
[dynamic currentSerializationObject]) → dynamic -
inherited
-
serializeAnimationRanges(
) → dynamic -
inherited
-
setAbsolutePosition(
Vector3 absolutePosition) → TransformNode -
inherited
-
setBoundingInfo(
BoundingInfo boundingInfo) → AbstractMesh -
inherited
-
setDirection(
Vector3 localAxis, [num yawCor, num pitchCor, num rollCor]) → TransformNode -
inherited
-
setEnabled(
bool value) → void -
inherited
-
setIndices(
Int32List indices, num totalVertices, [bool updatable]) → Mesh -
override
-
setParent(
Node node) → TransformNode -
inherited
-
setPhysicsLinkWith(
Mesh otherMesh, Vector3 pivot1, Vector3 pivot2, [dynamic options]) → AbstractMesh -
inherited
-
setPivotMatrix(
Matrix matrix, [bool postMultiplyPivotMatrix]) → TransformNode -
inherited
-
setPivotPoint(
Vector3 point, [Space space]) → TransformNode -
inherited
-
setPositionWithLocalVector(
Vector3 vector3) → TransformNode -
inherited
-
setPreTransformMatrix(
Matrix matrix) → TransformNode -
inherited
-
setVerticesData(
String kind, Float32List data, bool updatable) → AbstractMesh -
override
-
toString(
[bool fullDetails]) → String -
A string representation of this object.
inherited
-
translate(
Vector3 axis, num distance, [Space space]) → TransformNode -
inherited
-
unfreezeWorldMatrix(
) → TransformNode -
inherited
-
unregisterAfterWorldMatrixUpdate(
void func(TransformNode mesh)) → TransformNode -
inherited
-
updateCache(
[bool force]) → void -
inherited
-
updateFacetData(
) → AbstractMesh -
inherited
-
updateIndices(
Int32List indices, [num offset, bool gpuMemoryOnly]) → AbstractMesh -
inherited
-
updatePoseMatrix(
Matrix matrix) → TransformNode -
inherited
-
updateVerticesData(
String kind, Float32List data, [bool updateExtends, bool makeItUnique]) → Mesh -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited