|
我不会发图片,图片发不上去,就是下面这段代码,
' G V2 g" t( c! b; Z7 N1 f0 D! y0 _
fsnode* item = parnode(1);
9 r$ ?6 Z$ \) n+ F6 cfsnode* current = ownerobject(c);2 ^) V. |5 s( d! X+ e0 Z( q
//PROSESTART+ A% z) P$ t% A. a6 r/ U) O
//Change the 3D shape of
# [! y, M2 D% I( u//PROSEEND6 |* G$ E$ D7 |% q# @* O6 t
fsnode* theobject =
" e; o; J( V* F T//PARAMSTART
# V, |4 {0 {8 H9 E9 N+ n; k0 l. o( H item
8 W6 ~0 Y8 [8 g% R/ R5 g- w//PARAMEND( ^' i# t2 Y0 l% [5 B
; E+ v q3 f& e9 c5 s. W
//PROSESTART
. [$ e+ g: S7 j7 [4 P% x8 G//object to shape index number
5 E% ?& `; l5 X. h* ?# V' S7 m//PROSEEND
a5 l. u4 [! m/ @. H
0 q9 V& p- Q: ?0 L5 Uint theindex =
3 W6 z: L/ i; ~9 S4 T& ~0 S//PARAMSTART7 W7 B8 i* g5 S) H) L- H# L
1
" a* K) m1 B/ \' \//PARAMEND6 _4 y, \4 p$ ^
;
& f y4 s0 {# ^6 U, W7 \//PROSESTART
" }2 M6 c' b9 M1 C//.
% K, |" x* G4 g3 X% i4 o1 u//PROSEEND
$ [" S( [ p1 B! n8 ^+ K1 X, P" f
setobjectshapeindex(theobject,theindex);
( K* k! [2 a R \3 f2 n: O) C+ A3 R- M+ p6 ?6 x, a* j
怎么用?
* ~* a e+ m' a& @3 c& A如果这种方法可行,那么是在onentry里用,还是在onsetupfinish里用呢?
6 T* x/ _4 j6 s请指教! |
|