AbstractMesh class

class AbstractMesh

Inheritance
Implemented types
Implementers
Annotations
  • @JS()

Constructors

AbstractMesh()
AbstractMesh.args(String name, [Scene scene])

Properties

absolutePosition Vector3
no setterinherited
absoluteRotationQuaternion Quaternion
no setterinherited
absoluteScaling Vector3
no setterinherited
actionManager AbstractActionManager
getter/setter pair
alphaIndex num
getter/setter pair
alwaysSelectAsActiveMesh bool
getter/setter pair
animations List<Animation>
getter/setter pairinherited
applyFog bool
getter/setter pair
behaviors List<Behavior<Node>>
no setterinherited
billboardMode num
getter/setter pairinherited
BILLBOARDMODE_ALL num
no setter
BILLBOARDMODE_NONE num
no setter
BILLBOARDMODE_USE_POSITION num
no setter
BILLBOARDMODE_X num
no setter
BILLBOARDMODE_Y num
no setter
BILLBOARDMODE_Z num
no setter
checkCollisions bool
getter/setter pair
collisionGroup num
getter/setter pair
collisionMask num
getter/setter pair
collisionResponse bool
getter/setter pair
computeBonesUsingShaders bool
getter/setter pair
cullingStrategy num
getter/setter pair
definedFacingForward bool
getter/setter pair
doNotSerialize bool
getter/setter pairinherited
doNotSyncBoundingInfo bool
getter/setter pair
edgesColor Color4
getter/setter pair
edgesWidth num
getter/setter pair
ellipsoid Vector3
getter/setter pair
ellipsoidOffset Vector3
getter/setter pair
enablePointerMoveEvents bool
getter/setter pair
facetDepthSortFrom Vector3
getter/setter pair
facetNb num
no setter
forward Vector3
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasInstances bool
no setter
hasThinInstances bool
no setter
hasVertexAlpha bool
getter/setter pair
id String
getter/setter pairinherited
ignoreNonUniformScaling bool
getter/setter pairinherited
infiniteDistance bool
getter/setter pairinherited
isAnInstance bool
no setter
isBlocked bool
no setter
isBlocker bool
getter/setter pair
isFacetDataEnabled bool
no setter
isOccluded bool
getter/setter pair
isOcclusionQueryInProgress bool
getter/setter pair
isPickable bool
getter/setter pair
isVisible bool
getter/setter pair
isWorldMatrixFrozen bool
no setterinherited
layerMask num
getter/setter pair
lightSources List<Light>
no setter
material Material
getter/setter pair
metadata ↔ dynamic
getter/setter pairinherited
mustDepthSortFacets bool
getter/setter pair
name String
getter/setter pairinherited
nonUniformScaling bool
no setterinherited
numBoneInfluencers num
getter/setter pair
occlusionQueryAlgorithmType num
getter/setter pair
occlusionRetryCount num
getter/setter pair
occlusionType num
getter/setter pair
onAfterWorldMatrixUpdateObservable Observable<TransformNode>
getter/setter pairinherited
onCollide ← void Function()
no getter
onCollideObservable Observable<AbstractMesh>
getter/setter pair
onCollisionPositionChange ← void Function()
no getter
onCollisionPositionChangeObservable Observable<Vector3>
getter/setter pair
onDispose ← void Function()
no getterinherited
onDisposeObservable Observable<Node>
getter/setter pairinherited
onMaterialChangedObservable Observable<AbstractMesh>
getter/setter pair
onReady ↔ void Function(Node node)
getter/setter pairinherited
onRebuildObservable Observable<AbstractMesh>
getter/setter pair
outlineColor Color3
getter/setter pair
outlineWidth num
getter/setter pair
overlayAlpha num
getter/setter pair
overlayColor Color3
getter/setter pair
parent Node
getter/setter pairinherited
partitioningBBoxRatio num
getter/setter pair
partitioningSubdivisions num
getter/setter pair
physicsImpostor PhysicsImpostor
getter/setter pair
position Vector3
getter/setter pairinherited
preserveParentRotationForBillboard bool
getter/setter pairinherited
receiveShadows bool
getter/setter pair
reIntegrateRotationIntoRotationQuaternion bool
getter/setter pairinherited
renderingGroupId num
getter/setter pair
renderOutline bool
getter/setter pair
renderOverlay bool
getter/setter pair
reservedDataStore ↔ dynamic
getter/setter pairinherited
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 pairoverride
scalingDeterminant num
getter/setter pairinherited
showBoundingBox bool
getter/setter pair
showSubMeshesBoundingBox bool
getter/setter pair
skeleton Skeleton
getter/setter pair
state String
getter/setter pairinherited
subMeshes List<SubMesh>
getter/setter pair
surroundingMeshes List<AbstractMesh>
getter/setter pair
uniqueId num
getter/setter pairinherited
up Vector3
no setterinherited
useBones bool
no setter
useOctreeForCollisions bool
getter/setter pair
useOctreeForPicking bool
getter/setter pair
useOctreeForRenderingSelection bool
getter/setter pair
useVertexColors bool
getter/setter pair
visibility num
getter/setter pair
worldMatrixFromCache Matrix
no setterinherited

Methods

addBehavior(Behavior<Node> behavior) Node
inherited
addChild(AbstractMesh mesh) AbstractMesh
addRotation(num x, num y, num z) TransformNode
inherited
alignWithNormal(Vector3 normal, [Vector3 upDirection]) AbstractMesh
applyImpulse(Vector3 force, Vector3 contactPoint) AbstractMesh
attachToBone(Bone bone, TransformNode affectedTransformNode) TransformNode
inherited
calcMovePOV(num amountRight, num amountUp, num amountForward) Vector3
calcRotatePOV(num flipBack, num twirlClockwise, num tiltRight) Vector3
clone(String name, Node newParent, [bool doNotCloneChildren]) AbstractMesh
override
computeWorldMatrix([bool force]) Matrix
inherited
createAnimationRange(String name, num from, num to) → void
inherited
createNormals(bool updatable) AbstractMesh
deleteAnimationRange(String name, [bool deleteFrames]) → void
inherited
detachFromBone() TransformNode
inherited
disableEdgesRendering() AbstractMesh
disableFacetData() AbstractMesh
dispose([bool doNotRecurse, bool disposeMaterialAndTextures]) → void
override
enableEdgesRendering([num epsilon, bool checkVerticesInsteadOfIndices, IEdgesRendererOptions options]) AbstractMesh
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
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
getClosestFacetAtLocalCoordinates(num x, num y, num z, [Vector3 projected, bool checkFace, bool facing]) num
getConnectedParticleSystems() List<IParticleSystem>
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
getFacetLocalNormals() List<Vector3>
getFacetLocalPartitioning() List<num>
getFacetLocalPositions() List<Vector3>
getFacetNormal(num i) Vector3
getFacetNormalToRef(num i, Vector3 ref) AbstractMesh
getFacetPosition(num i) Vector3
getFacetPositionToRef(num i, Vector3 ref) AbstractMesh
getFacetsAtLocalCoordinates(num x, num y, num z) List<num>
getIndices([bool copyWhenShared, bool forceCopy]) Int32List
override
getLOD(Camera camera) AbstractMesh
getPhysicsImpostor() PhysicsImpostor
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
getTotalVertices() num
getVerticesData(String kind, [bool copyWhenShared, bool forceCopy]) Float32List
override
getWorldMatrix() Matrix
override
instantiateHierarchy([TransformNode newParent, TransformNodeInstantiateHierarchyOptions options, void onNewNodeCreated(TransformNode source, TransformNode clone)]) TransformNode
inherited
intersectsPoint(Vector3 point) bool
isCompletelyInFrustum(List<Plane> frustumPlanes) bool
override
isDescendantOf(Node ancestor) bool
inherited
isDisposed() bool
inherited
isEnabled([bool checkAncestors]) bool
inherited
isInFrustum(List<Plane> frustumPlanes) bool
override
isReady([bool completeCheck]) bool
inherited
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
moveWithCollisions(Vector3 displacement) AbstractMesh
normalizeToUnitCube([bool includeDescendants, bool ignoreRotation, bool predicate(AbstractMesh node)]) AbstractMesh
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshBoundingInfo([bool applySkeleton]) AbstractMesh
registerAfterWorldMatrixUpdate(void func(TransformNode mesh)) TransformNode
inherited
releaseSubMeshes() AbstractMesh
removeBehavior(Behavior<Node> behavior) Node
inherited
removeChild(AbstractMesh mesh) AbstractMesh
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
serialize([dynamic currentSerializationObject]) → dynamic
inherited
serializeAnimationRanges() → dynamic
inherited
setAbsolutePosition(Vector3 absolutePosition) TransformNode
inherited
setBoundingInfo(BoundingInfo boundingInfo) AbstractMesh
setDirection(Vector3 localAxis, [num yawCor, num pitchCor, num rollCor]) TransformNode
inherited
setEnabled(bool value) → void
inherited
setIndices(Int32List indices, num totalVertices, [bool updatable]) AbstractMesh
override
setParent(Node node) TransformNode
inherited
setPhysicsLinkWith(Mesh otherMesh, Vector3 pivot1, Vector3 pivot2, [dynamic options]) AbstractMesh
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.
override
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
updateIndices(Int32List indices, [num offset, bool gpuMemoryOnly]) AbstractMesh
updatePoseMatrix(Matrix matrix) TransformNode
inherited
updateVerticesData(String kind, Float32List data, [bool updateExtends, bool makeItUnique]) AbstractMesh
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

CULLINGSTRATEGY_BOUNDINGSPHERE_ONLY num
no setter
CULLINGSTRATEGY_OPTIMISTIC_INCLUSION num
no setter
CULLINGSTRATEGY_OPTIMISTIC_INCLUSION_THEN_BSPHERE_ONLY num
no setter
CULLINGSTRATEGY_STANDARD num
no setter
OCCLUSION_ALGORITHM_TYPE_ACCURATE num
getter/setter pair
OCCLUSION_ALGORITHM_TYPE_CONSERVATIVE num
getter/setter pair
OCCLUSION_TYPE_NONE num
getter/setter pair
OCCLUSION_TYPE_OPTIMISTIC num
getter/setter pair
OCCLUSION_TYPE_STRICT num
getter/setter pair