IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

HeightFieldShape QML Type

Height field shape.

This type was introduced in Qt 6.4.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

HeightFieldShape QML Type

  • Import Statement: import QtQuick3DPhysics

  • Since: Qt 6.4

  • Inherits: CollisionShape

Detailed Description

This is the height-field shape.

Property Documentation

 

extents : vector3d

This property defines the extents of the height field. The default value is (100, 100, 100) when the heightMap is square. When the heightMap is non-square, the default value is reduced along the x- or z-axis so the height field will keep the aspect ratio of the image.

heightMap : url

This property defines the location of the heightMap file.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+