|
我不会发图片,图片发不上去,就是下面这段代码,
5 O7 |" k) P7 z& b3 s# \
7 w: B9 {; t; i- f5 j' C' ofsnode* item = parnode(1);
. e. _2 B: D8 |, Q' R* n* Cfsnode* current = ownerobject(c);2 `$ Q& I* W9 I* J- R, _4 p
//PROSESTART
- _+ u# C5 B7 R8 l T5 D//Change the 3D shape of
" J( d/ }) a5 b8 O D//PROSEEND2 O v- K$ }% T% {
fsnode* theobject =: }, ^6 O& j9 a* a8 M1 u9 x
//PARAMSTART
. a- Z% i7 S+ o8 }/ J item
6 }& W) C. t ]: e; M//PARAMEND
8 k# Z& [# P5 p1 N- h0 d;
7 z! m9 N8 g# V& j/ A//PROSESTART/ g7 u: K( M2 e# b
//object to shape index number O! Z: e6 n1 S6 d# r& G) F
//PROSEEND
7 M: z$ k6 |' w. q5 D {" F2 e Z% B2 e( Z& V1 p
int theindex =5 ]% Q2 J6 q: z3 H( i X
//PARAMSTART: E+ M/ W& K- A0 D
1
. z% R+ W% p' V# N2 ~; d//PARAMEND
- p% {" z& S2 K;, T% d3 j: {5 U! i; v/ l
//PROSESTART
6 T5 R1 D0 z Z0 P9 `6 T//.
: P ^5 v4 D4 l( C//PROSEEND
3 x0 X1 i3 [% V5 U' `( {+ J2 ^1 W! s0 x! _9 c' B K
setobjectshapeindex(theobject,theindex);
5 @% V$ t1 S. t( Q8 N8 d! J. y; W
7 F7 h% W1 u, N/ Y4 y; I% r* `怎么用?
. v) R) ]4 T- z" P如果这种方法可行,那么是在onentry里用,还是在onsetupfinish里用呢?% g! ], b9 u! |! m3 f% y# C$ H6 A
请指教! |
|