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
namestringThe name of the property.
typePlyReader.PlyDataTypesThe type of the property.
valueobjectThe value of the property.
isListboolSpecifies whether the property is a list or not.
listContentTypePlyReader.PlyDataTypesThe type of contents in the list if it is a list.
listContentValuesobject[]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
ListContentType
The type of items in the list.
public PlyReader.PlyDataTypes ListContentType { get; }
Property Value
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
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
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; }