Lines Matching refs:SubMeshJS
25 void* SubMeshJS::GetInstanceImpl(uint32_t id) in GetInstanceImpl()
27 if (id == SubMeshJS::ID) { in GetInstanceImpl()
33 void SubMeshJS::DisposeNative() in DisposeNative()
41 void SubMeshJS::Init(napi_env env, napi_value exports) in Init()
46 …node_props.push_back(GetSetProperty<BASE_NS::string, SubMeshJS, &SubMeshJS::GetName, &SubMeshJS::S… in Init()
47 node_props.push_back(GetProperty<Object, SubMeshJS, &SubMeshJS::GetAABB>("aabb")); in Init()
49 … GetSetProperty<Object, SubMeshJS, &SubMeshJS::GetMaterial, &SubMeshJS::SetMaterial>("material")); in Init()
52 …auto status = napi_define_class(env, "SubMesh", NAPI_AUTO_LENGTH, BaseObject::ctor<SubMeshJS>(), n… in Init()
60 SubMeshJS::SubMeshJS(napi_env e, napi_callback_info i) : BaseObject<SubMeshJS>(e, i) in SubMeshJS() function in SubMeshJS
74 SubMeshJS::~SubMeshJS() in ~SubMeshJS()
79 napi_value SubMeshJS::GetAABB(NapiApi::FunctionContext<>& ctx) in GetAABB()
111 napi_value SubMeshJS::GetName(NapiApi::FunctionContext<>& ctx) in GetName()
124 void SubMeshJS::SetName(NapiApi::FunctionContext<BASE_NS::string>& ctx) in SetName()
135 napi_value SubMeshJS::GetMaterial(NapiApi::FunctionContext<>& ctx) in GetMaterial()
167 void SubMeshJS::SetMaterial(NapiApi::FunctionContext<NapiApi::Object>& ctx) in SetMaterial()