Click or drag to resize
AB4D logo

ObjModelVisual3D Properties

The ObjModelVisual3D type exposes the following members.

Properties
 NameDescription
Public propertyDefaultBackMaterial Gets or sets the default material that is used for BackMaterial when the back material is not defined in obj file. Default value is null.
Public propertyDefaultMaterial Gets or sets the default material that is used when the material is not defined in obj file. Default value is a Silver DiffuseMaterial.
Public propertyPosition Gets or sets the Position of the read obj model. The type of position is determined by PositionType property.
Public propertyPositionType Gets or sets the ObjModelVisual3DVisualPositionType value that specifies the type of the Position
Public propertyCode examplePreserveScaleAspectRatio Gets or sets a Boolean that specifies if the 3D model is scaled so its aspect ratio is preserved (the ratio between width, height and depth of the object).
Public propertyCode exampleSizeX Gets or sets the size in of the 3D model in X dimension.
Public propertyCode exampleSizeY Gets or sets the size in of the 3D model in Y dimension.
Public propertyCode exampleSizeZ Gets or sets the size in of the 3D model in Z dimension.
Public propertySource Gets or sets the Source of the obj file
Public propertyTexturesPath Gets or sets the path where the textures are located. If null or "" the path of the obj file is used. It is also possible to set TexturesPath to url of the textures (http://...) or to the application resources ("pack://application:,,,/XAMLBrowserApplication1;component/models")
Public propertyUsedReaderObj Gets a Ab3d.ReaderObj instance that is used to read the obj file.
Top
See Also