Exemplo n.º 1
0
 public virtual void setBillboardRotationType(BillboardRotationType rotationType)
 {
     OgrePINVOKE.BillboardSet_setBillboardRotationType(swigCPtr, (int)rotationType);
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
        public virtual BillboardRotationType getBillboardRotationType()
        {
            BillboardRotationType ret = (BillboardRotationType)OgrePINVOKE.BillboardSet_getBillboardRotationType(swigCPtr);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 3
0
            public string Get(object target)
            {
                BillboardRotationType r = ((BillboardParticleRenderer)target).BillboardRotationType;

                return(ScriptEnumAttribute.GetScriptAttribute((int)r, typeof(BillboardRotationType)));
            }