how to get particle mesh data in script operator
#1
i see the new “tfMesh” class can retrieve both particle and object mesh data,i can get the object mesh data like this tf.GetObject("Sphere001").GetMesh().GetNumFaces(),but how can i  get the particle mesh data?
  Reply
#2
The particle mesh can be accessed the same way as other particle properties, as listed in the API:

Code:
var mesh = tf.GetMesh(sInx);
  Reply
#3
(02-16-2021, 03:31 PM)tyFlow Wrote: The particle mesh can be accessed the same way as other particle properties, as listed in the API:

Code:
var mesh = tf.GetMesh(sInx);

thanx alot,i will have a try.
  Reply


Forum Jump: