|
我不会发图片,图片发不上去,就是下面这段代码,
, u- l1 @+ [: D' u. `
) x$ m9 ]) W& L1 e' @fsnode* item = parnode(1);5 s8 E; y3 z# P% X; [. @! U
fsnode* current = ownerobject(c);
# I3 q0 [* N% t% Z9 r9 _/ Y# w3 T//PROSESTART8 Q# Y( G5 @% f8 Y' m
//Change the 3D shape of
+ t4 D0 k. k$ s) F2 i% T4 G5 r//PROSEEND: d, v0 d/ }) @5 f! x& P
fsnode* theobject = @. I1 N6 V" i3 y( P+ Q* N
//PARAMSTART8 @9 M. s( l$ O; B' ]
item ( q8 R: d3 b1 _" t: j c4 M# r
//PARAMEND" ^1 `9 R' }8 ~4 w `# [/ y
;
. ^0 d) V8 Y7 }. P2 N+ n//PROSESTART& o. h% v1 l- J5 S4 ]( F
//object to shape index number* }. w" b, M8 F& J3 H# l7 t
//PROSEEND6 J! l. s! |5 ~3 _: u( |, A
* H/ X) o" J& l3 D# V, \
int theindex =
3 Y& t3 E) e, {2 L$ O//PARAMSTART; X4 j! X$ }0 M6 ~. k% n0 e
1
% S/ t6 t4 v( n//PARAMEND: Q+ h1 S/ D6 W% e, W# |
;+ ^3 Y. D, z# p* |& f! e: b
//PROSESTART8 a7 {. G' |8 l/ ^+ W! L
//.4 U, t1 ]( S6 u! G1 M- d% n) ]+ H/ q
//PROSEEND# w* Z: q9 g' K3 @
?: z, Q% C# [. a
setobjectshapeindex(theobject,theindex);" q& U+ Z9 P7 P0 H7 c9 U# w: X$ n
. K2 U) g4 m* p
怎么用?% u! O) Q5 A3 p3 H" z( M! O
如果这种方法可行,那么是在onentry里用,还是在onsetupfinish里用呢?
, i: v# U# j1 t; Y; D; c请指教! |
|