Method ToVariable ToVariable() Convert the property to a shader variable. Declaration public virtual Variable ToVariable() Returns Type Description Variable A variable representing the the property in shader code.