68 CurTime(context.CurTime),
69 Origin(context.Origin)
72 assert(Origin !=
NULL);
82 int count = sub_object_list.
Count();
83 for (i=0; i<count; i++) {
87 con.
BoneIndex = sub_object_list[i]->Get_Bone_Index();
88 con.
MeshINode = sub_object_list[i]->Get_Object_Node();
92 }
else if (sub_object_list[i]->
Is_Proxy()) {
93 ProxyObjects.Add(con);
133 if (mesh_idx >= SubObjects.Count())
return false;
136 *out_name = SubObjects[mesh_idx].ObjectName;
138 *out_boneindex = SubObjects[mesh_idx].BoneIndex;
140 *out_inode = SubObjects[mesh_idx].MeshINode;
161 if (mesh_idx >= Aggregates.Count())
return false;
164 *out_name = Aggregates[mesh_idx].ObjectName;
166 *out_boneindex = Aggregates[mesh_idx].BoneIndex;
168 *out_inode = Aggregates[mesh_idx].MeshINode;
189 if (index >= ProxyObjects.Count())
return false;
192 *out_name = ProxyObjects[index].ObjectName;
194 *out_boneindex = ProxyObjects[index].BoneIndex;
196 *out_inode = ProxyObjects[index].MeshINode;
MeshConnectionsClass(DynamicVectorClass< GeometryExportTaskClass * > sub_objects, GeometryExportContextClass &context)
bool Get_Proxy_Data(int index, char **out_name, int *out_boneindex, INode **out_inode=NULL)
~MeshConnectionsClass(void)
bool Get_Sub_Object_Data(int index, char **out_name, int *out_boneindex, INode **out_inode=NULL)
bool Get_Aggregate_Data(int index, char **out_name, int *out_boneindex, INode **out_inode=NULL)
char ObjectName[2 *W3D_NAME_LEN]
void Set_W3D_Name(char *set_name, const char *src)
bool Is_Aggregate(INode *node)
bool Is_Proxy(INode &node)