예제 #1
0
        public override void FillBrushData(ref SdfBrush brush, int iBrush)
        {
            base.FillBrushData(ref brush, iBrush);

            brush.Operator = (int)OperatorEnum.Modify;
            brush.Blend    = MaxModification;
        }
예제 #2
0
        public override void FillBrushData(ref SdfBrush brush, int iBrush)
        {
            base.FillBrushData(ref brush, iBrush);

            brush.Operator = (int)OperatorEnum.Distort;
            brush.Blend    = MaxDistortion;
        }
예제 #3
0
        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);
        }
예제 #4
0
        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);
        }
예제 #5
0
        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);
        }
예제 #6
0
        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);
        }
예제 #7
0
 public virtual void FillBrushDataPostChildren(ref SdfBrush brush, int iBrush)
 {
 }
예제 #8
0
        public override void FillBrushData(ref SdfBrush brush, int iBrush)
        {
            base.FillBrushData(ref brush, iBrush);

            brush.Proxy = m_iProxyBegin;
        }