protected override void PrepareProperties(MaterialProperties materialProperties)
 {
     base.PrepareProperties(materialProperties);
     positionsProperty       = materialProperties.GetComputeBufferProperty("_Positions");
     positionsLengthProperty = materialProperties.GetFloatProperty("_PositionsLength");
     widthProperty           = materialProperties.GetFloatProperty("_Width");
 }
Exemple #2
0
 protected override void PrepareProperties(MaterialProperties materialProperties)
 {
     base.PrepareProperties(materialProperties);
     positionsProperty       = materialProperties.GetComputeBufferProperty("_Positions");
     positionsLengthProperty = materialProperties.GetFloatProperty("_PositionsLength");
     widthProperty           = materialProperties.GetFloatProperty("_Width");
     objectToClipProperty    = materialProperties.GetMatrixProperty("objectToClip");
     clipToObjectProperty    = materialProperties.GetMatrixProperty("clipToObject");
 }
Exemple #3
0
 protected override void PrepareProperties(MaterialProperties materialProperties)
 {
     positionsProperty       = materialProperties.GetComputeBufferProperty("_Positions");
     positionsLengthProperty = materialProperties.GetFloatProperty("_PositionsLength");
     progressProperty        = materialProperties.GetFloatProperty("_Progress");
 }