Table of Contents

Class PlyReader.PlyProperty

Namespace
HelixToolkit.Wpf
Assembly
HelixToolkit.Wpf.dll

Represents a property of a PlyReader.PlyElement.

public sealed class PlyReader.PlyProperty
Inheritance
PlyReader.PlyProperty
Inherited Members

Constructors

PlyProperty(string, PlyDataTypes, object?, bool, PlyDataTypes, object[]?)

Initializes a new ply property with the specified values.

public PlyProperty(string name, PlyReader.PlyDataTypes type, object? value, bool isList, PlyReader.PlyDataTypes listContentType, object[]? listContentValues)

Parameters

name string

The name of the property.

type PlyReader.PlyDataTypes

The type of the property.

value object

The value of the property.

isList bool

Specifies whether the property is a list or not.

listContentType PlyReader.PlyDataTypes

The type of contents in the list if it is a list.

listContentValues object[]

The items in the property's list.

Properties

IsList

Specifies whether this property is a scalar or vector (list).

public bool IsList { get; }

Property Value

bool

ListContentType

The type of items in the list.

public PlyReader.PlyDataTypes ListContentType { get; }

Property Value

PlyReader.PlyDataTypes

ListContentValues

The value of the items in the list.

public object[]? ListContentValues { get; }

Property Value

object[]

Name

The name of this property.

public string Name { get; }

Property Value

string

Type

For a scalar property: the type of value it holds.

For a vector property: the type of the items count value.
public PlyReader.PlyDataTypes Type { get; }

Property Value

PlyReader.PlyDataTypes

Remarks

A scalar property is a property where IsList is false.

Value

For a scalar property: The value of this property.

For a vector property: The number of items in the list.
public object? Value { get; }

Property Value

object