|
我不会发图片,图片发不上去,就是下面这段代码,
7 Y; j/ J& b) @# V! S5 j$ G7 Y: S7 @
fsnode* item = parnode(1);
( {% C# H' H) n- a3 c6 gfsnode* current = ownerobject(c);: c' H3 u- H4 A! k
//PROSESTART
, W$ `4 W P2 ~" {/ |2 u& o3 l: D//Change the 3D shape of% w1 b0 J* O" z: E$ c( P% u
//PROSEEND
% b2 k( g2 S3 } z2 Ufsnode* theobject =
* d) X2 Y2 a, ?. M8 @2 L) y//PARAMSTART
& t) `0 E# m$ ]: r item
5 {% |; A5 i+ H ]% F0 Z8 _: N7 r//PARAMEND
5 O7 r3 z" Z# m5 y;
4 ]2 u% W1 b$ O& l% c- }& p" V//PROSESTART
# x; L) [$ E1 W( R2 H; ^" [//object to shape index number h% L) L& J. o+ W. T
//PROSEEND2 P* r+ j3 f, d( y
3 t/ o8 H: ~9 Z5 S* ]9 Y
int theindex =
" ~: n7 Y; E8 l//PARAMSTART1 z* _* e+ n8 M8 c1 k; H1 F. m
1
5 n- d+ Q4 ~" I e9 Y4 q' b* u//PARAMEND, F7 Q4 S* r l5 {
;
! `' U, T/ S* G+ n! |: H# X//PROSESTART$ |2 B2 P; z$ q2 i3 V% R5 c
//.5 t; P, W& u* H* m5 V8 T2 O
//PROSEEND
7 }" H4 W9 b* a* m2 x0 q
& ] X3 X8 `& I; }7 ~* zsetobjectshapeindex(theobject,theindex);
+ ] W# T- q' j
$ j/ I3 _+ i5 ^7 J$ r2 I+ u, V7 u怎么用?. O& U7 t5 R' z r, {3 d
如果这种方法可行,那么是在onentry里用,还是在onsetupfinish里用呢?
1 E2 z% T4 O; M请指教! |
|