AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
HoloToolkit.Unity.MaterialPropertyAttribute Class Reference
Inheritance diagram for HoloToolkit.Unity.MaterialPropertyAttribute:
HoloToolkit.Unity.DrawOverrideAttribute

Public Types

enum  PropertyTypeEnum { PropertyTypeEnum.Color, PropertyTypeEnum.Float, PropertyTypeEnum.Range, PropertyTypeEnum.Vector }
 

Public Member Functions

 MaterialPropertyAttribute (PropertyTypeEnum propertyType, string materialMemberName, bool allowNone=true, string defaultProperty="_Color", string customLabel=null)
 

Properties

string Property [get]
 
PropertyTypeEnum PropertyType [get]
 
string MaterialMemberName [get]
 
bool AllowNone [get]
 
string DefaultProperty [get]
 
string CustomLabel [get]
 

Additional Inherited Members

- Protected Member Functions inherited from HoloToolkit.Unity.DrawOverrideAttribute
string SplitCamelCase (string str)
 

Detailed Description

Definition at line 16 of file MaterialPropertyAttribute.cs.

Member Enumeration Documentation

§ PropertyTypeEnum

Enumerator
Color 
Float 
Range 
Vector 

Definition at line 18 of file MaterialPropertyAttribute.cs.

Constructor & Destructor Documentation

§ MaterialPropertyAttribute()

HoloToolkit.Unity.MaterialPropertyAttribute.MaterialPropertyAttribute ( PropertyTypeEnum  propertyType,
string  materialMemberName,
bool  allowNone = true,
string  defaultProperty = "_Color",
string  customLabel = null 
)

Definition at line 33 of file MaterialPropertyAttribute.cs.

Property Documentation

§ AllowNone

bool HoloToolkit.Unity.MaterialPropertyAttribute.AllowNone
get

Definition at line 29 of file MaterialPropertyAttribute.cs.

§ CustomLabel

string HoloToolkit.Unity.MaterialPropertyAttribute.CustomLabel
get

Definition at line 31 of file MaterialPropertyAttribute.cs.

§ DefaultProperty

string HoloToolkit.Unity.MaterialPropertyAttribute.DefaultProperty
get

Definition at line 30 of file MaterialPropertyAttribute.cs.

§ MaterialMemberName

string HoloToolkit.Unity.MaterialPropertyAttribute.MaterialMemberName
get

Definition at line 28 of file MaterialPropertyAttribute.cs.

§ Property

string HoloToolkit.Unity.MaterialPropertyAttribute.Property
get

Definition at line 26 of file MaterialPropertyAttribute.cs.

§ PropertyType

PropertyTypeEnum HoloToolkit.Unity.MaterialPropertyAttribute.PropertyType
get

Definition at line 27 of file MaterialPropertyAttribute.cs.


The documentation for this class was generated from the following file: