public override void FillBrushData(ref SdfBrush brush, int iBrush) { base.FillBrushData(ref brush, iBrush); brush.Operator = (int)OperatorEnum.Modify; brush.Blend = MaxModification; }
public override void FillBrushData(ref SdfBrush brush, int iBrush) { base.FillBrushData(ref brush, iBrush); brush.Operator = (int)OperatorEnum.Distort; brush.Blend = MaxDistortion; }
public override int FillComputeDataPostChildren(SdfBrush [] aBrush, int iStart) { SdfBrush brush = SdfBrush.New; brush.Type = (int)TypeEnum.EndGroup; aBrush[iStart] = brush; m_iEnd = iStart; return(1); }
public override int FillComputeData(SdfBrush [] aBrush, int iStart, List <Transform> aBone) { SdfBrush brush = SdfBrush.New; brush.Type = (int)TypeEnum.BeginGroup; aBrush[iStart] = brush; m_iBegin = iStart; return(1); }
public virtual void FillBrushData(ref SdfBrush brush, int iBrush) { brush.Proxy = m_iProxy; brush.Position = PointRs(transform.position); brush.Rotation = RotationRs(transform.rotation); brush.Size = transform.localScale; brush.Flags.AssignBit(SdfBrush.FlagBit.Hidden, Hidden); }
public override void FillBrushDataPostChildren(ref SdfBrush brush, int iBrush) { brush.Proxy = m_iProxyEnd; brush.Flags.AssignBit(SdfBrush.FlagBit.Hidden, Hidden); brush.Operator = (int)Operator; brush.Blend = Blend; brush.Flags.AssignBit(SdfBrush.FlagBit.ContributeMaterial, m_material.ContributeMaterial); brush.Flags.AssignBit(SdfBrush.FlagBit.CountAsBone, CountAsBone); }
public virtual void FillBrushDataPostChildren(ref SdfBrush brush, int iBrush) { }
public override void FillBrushData(ref SdfBrush brush, int iBrush) { base.FillBrushData(ref brush, iBrush); brush.Proxy = m_iProxyBegin; }