GroundMesh class

class GroundMesh

Inheritance
Annotations
  • @JS()

Constructors

GroundMesh(String name, Scene scene)

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
areNormalsFrozen bool
no setterinherited
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
delayLoadingFile String
getter/setter pairinherited
delayLoadState num
getter/setter pairinherited
doNotSerialize bool
getter/setter pairinherited
doNotSyncBoundingInfo bool
getter/setter pairinherited
edgesColor Color4
getter/setter pairinherited
edgesShareWithInstances bool
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
generateOctree bool
getter/setter pair
geometry Geometry
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasInstances bool
no setterinherited
hasLODLevels 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
instances List<InstancedMesh>
getter/setter pairinherited
isAnInstance bool
no setterinherited
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
isUnIndexed bool
getter/setter pairinherited
isVisible bool
getter/setter pairinherited
isWorldMatrixFrozen bool
no setterinherited
layerMask num
getter/setter pairinherited
lightSources List<Light>
no setterinherited
manualUpdateOfWorldMatrixInstancedBuffer bool
getter/setter pairinherited
material Material
getter/setter pairinherited
metadata ↔ dynamic
getter/setter pairinherited
mustDepthSortFacets bool
getter/setter pairinherited
name String
getter/setter pairinherited
nonUniformScaling bool
no setterinherited
normalizeSkinFourWeights ↔ dynamic
getter/setter pairinherited
normalizeSkinWeightsAndExtra ↔ dynamic
getter/setter pairinherited
numBoneInfluencers num
getter/setter pairinherited
occlusionQueryAlgorithmType num
getter/setter pairinherited
occlusionRetryCount num
getter/setter pairinherited
occlusionType num
getter/setter pairinherited
onAfterRenderObservable Observable<Mesh>
no setterinherited
onAfterWorldMatrixUpdateObservable Observable<TransformNode>
getter/setter pairinherited
onBeforeBindObservable Observable<Mesh>
no setterinherited
onBeforeDraw ← void Function()
no getterinherited
onBeforeDrawObservable Observable<Mesh>
no setterinherited
onBeforeRenderObservable Observable<Mesh>
no setterinherited
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
onLODLevelSelection ↔ void Function(num distance, Mesh mesh, Mesh selectedLevel)
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
overrideMaterialSideOrientation num
getter/setter pairinherited
overridenInstanceCount num
no getterinherited
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
reIntegrateRotationIntoRotationQuaternion bool
getter/setter pairinherited
renderingGroupId num
getter/setter pairinherited
renderOutline bool
getter/setter pairinherited
renderOverlay bool
getter/setter pairinherited
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 pairinherited
scalingDeterminant num
getter/setter pairinherited
showBoundingBox bool
getter/setter pairinherited
showSubMeshesBoundingBox bool
getter/setter pairinherited
skeleton Skeleton
getter/setter pairinherited
source Mesh
no setterinherited
state String
getter/setter pairinherited
subdivisions num
no setter
subdivisionsX num
no setter
subdivisionsY num
no setter
subMeshes List<SubMesh>
getter/setter pairinherited
surroundingMeshes List<AbstractMesh>
getter/setter pairinherited
thinInstanceCount num
getter/setter pairinherited
thinInstanceEnablePicking bool
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
worldMatrixFromCache Matrix
no setterinherited
worldMatrixInstancedBuffer Float32List
no setterinherited

Methods

addBehavior(Behavior<Node> behavior) Node
inherited
addChild(AbstractMesh mesh) AbstractMesh
inherited
addInstance(InstancedMesh instance) → void
inherited
addLODLevel(num distance, Mesh mesh) Mesh
inherited
addRotation(num x, num y, num z) TransformNode
inherited
alignWithNormal(Vector3 normal, [Vector3 upDirection]) AbstractMesh
inherited
applyDisplacementMap(String url, num minHeight, num maxHeight, [void onSuccess(Mesh mesh), Vector2 uvOffset, Vector2 uvScale, bool forceUpdate]) Mesh
inherited
applyDisplacementMapFromBuffer(Uint8List buffer, num heightMapWidth, num heightMapHeight, num minHeight, num maxHeight, [Vector2 uvOffset, Vector2 uvScale, bool forceUpdate]) Mesh
inherited
applyImpulse(Vector3 force, Vector3 contactPoint) AbstractMesh
inherited
applySkeleton(Skeleton skeleton) Mesh
inherited
attachToBone(Bone bone, TransformNode affectedTransformNode) TransformNode
inherited
bakeCurrentTransformIntoVertices([bool bakeIndependenlyOfChildren]) Mesh
inherited
bakeTransformIntoVertices(Matrix transform) Mesh
inherited
calcMovePOV(num amountRight, num amountUp, num amountForward) Vector3
inherited
calcRotatePOV(num flipBack, num twirlClockwise, num tiltRight) Vector3
inherited
cleanMatrixWeights() → void
inherited
clone(String name, Node newParent, [bool doNotCloneChildren]) Mesh
inherited
computeWorldMatrix([bool force]) Matrix
inherited
convertToFlatShadedMesh() Mesh
inherited
convertToUnIndexedMesh() Mesh
inherited
createAnimationRange(String name, num from, num to) → void
inherited
createInstance(String name) InstancedMesh
inherited
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
inherited
enableEdgesRendering([num epsilon, bool checkVerticesInsteadOfIndices, IEdgesRendererOptions options]) AbstractMesh
inherited
flipFaces([bool flipNormals]) Mesh
inherited
forceSharedVertices() → void
inherited
freezeNormals() Mesh
inherited
freezeWorldMatrix([Matrix newWorldMatrix]) TransformNode
inherited
getAbsolutePivotPoint() Vector3
inherited
getAbsolutePivotPointToRef(Vector3 result) TransformNode
inherited
getAbsolutePosition() Vector3
inherited
getAnimatables() List<IAnimatable>
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
getEmittedParticleSystems() List<IParticleSystem>
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
getHeightAtCoordinates(num x, num z) num
getHierarchyEmittedParticleSystems() List<IParticleSystem>
inherited
getIndices([bool copyWhenShared, bool forceCopy]) Int32List
inherited
getLOD(Camera camera) AbstractMesh
inherited
getLODLevelAtDistance(num distance) Mesh
inherited
getNormalAtCoordinates(num x, num z) Vector3
getNormalAtCoordinatesToRef(num x, num z, Vector3 ref) GroundMesh
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
inherited
getTotalVertices() num
inherited
getVertexBuffer(String kind) VertexBuffer
inherited
getVerticesData(String kind, [bool copyWhenShared, bool forceCopy]) Float32List
inherited
getVerticesDataKinds() List<String>
inherited
getWorldMatrix() Matrix
inherited
increaseVertices(num numberPerEdge) → void
inherited
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
inherited
isSynchronized() bool
inherited
isSynchronizedWithParent() bool
inherited
isVertexBufferUpdatable(String kind) bool
inherited
isVerticesDataPresent(String kind) bool
inherited
locallyTranslate(Vector3 vector3) TransformNode
inherited
lookAt(Vector3 targetPoint, [num yawCor, num pitchCor, num rollCor, Space space]) TransformNode
inherited
makeGeometryUnique() Mesh
inherited
markAsDirty(String property) TransformNode
inherited
markVerticesDataAsUpdatable(String kind, [bool updatable]) → void
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
optimize(num chunksCount, [num octreeBlocksSize]) → void
optimizeIndices([void successCallback(Mesh mesh)]) Mesh
inherited
refreshBoundingInfo([bool applySkeleton]) Mesh
inherited
registerAfterRender(void func(AbstractMesh mesh)) Mesh
inherited
registerAfterWorldMatrixUpdate(void func(TransformNode mesh)) TransformNode
inherited
registerBeforeRender(void func(AbstractMesh mesh)) Mesh
inherited
registerInstancedBuffer(String kind, num stride) → void
inherited
releaseSubMeshes() AbstractMesh
inherited
removeBehavior(Behavior<Node> behavior) Node
inherited
removeChild(AbstractMesh mesh) AbstractMesh
inherited
removeInstance(InstancedMesh instance) → void
inherited
removeLODLevel(Mesh mesh) Mesh
inherited
removeVerticesData(String kind) → void
inherited
render(SubMesh subMesh, bool enableAlphaMode, [AbstractMesh effectiveMeshReplacement]) Mesh
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]) → void
override
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]) AbstractMesh
inherited
setMaterialByID(String id) Mesh
inherited
setNormalsForCPUSkinning() Float32List
inherited
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
setPositionsForCPUSkinning() Float32List
inherited
setPositionWithLocalVector(Vector3 vector3) TransformNode
inherited
setPreTransformMatrix(Matrix matrix) TransformNode
inherited
setVerticesBuffer(VertexBuffer buffer) Mesh
inherited
setVerticesData(String kind, Float32List data, bool updatable) AbstractMesh
inherited
subdivide(num count) → void
inherited
synchronizeInstances() Mesh
inherited
thinInstanceAdd(dynamic matrix, bool refresh) num
inherited
thinInstanceAddSelf(bool refresh) num
inherited
thinInstanceBufferUpdated(String kind) → void
inherited
thinInstanceGetWorldMatrices() List<Matrix>
inherited
thinInstancePartialBufferUpdate(String kind, Float32List data, num offset) → void
inherited
thinInstanceRefreshBoundingInfo(bool forceRefreshParentInfo) → void
inherited
thinInstanceRegisterAttribute(String kind, num stride) → void
inherited
thinInstanceSetAttributeAt(String kind, num index, List<num> value, bool refresh) → void
inherited
thinInstanceSetBuffer(String kind, Float32List buffer, num stride, bool staticBuffer) → void
inherited
thinInstanceSetMatrixAt(num index, Matrix matrix, bool refresh) → void
inherited
toLeftHanded() Mesh
inherited
toString([bool fullDetails]) String
A string representation of this object.
inherited
translate(Vector3 axis, num distance, [Space space]) TransformNode
inherited
unfreezeNormals() Mesh
inherited
unfreezeWorldMatrix() TransformNode
inherited
unregisterAfterRender(void func(AbstractMesh mesh)) Mesh
inherited
unregisterAfterWorldMatrixUpdate(void func(TransformNode mesh)) TransformNode
inherited
unregisterBeforeRender(void func(AbstractMesh mesh)) Mesh
inherited
updateCache([bool force]) → void
inherited
updateCoordinateHeights() GroundMesh
updateFacetData() AbstractMesh
inherited
updateIndices(Int32List indices, [num offset, bool gpuMemoryOnly]) AbstractMesh
inherited
updateMeshPositions(void positionFunction(Float32List data), [bool computeNormals]) Mesh
inherited
updatePoseMatrix(Matrix matrix) TransformNode
inherited
updateVerticesData(String kind, Float32List data, [bool updateExtends, bool makeItUnique]) AbstractMesh
inherited

Operators

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

Static Methods

Parse(dynamic parsedTransformNode, Scene scene, String rootUrl) GroundMesh
override