Lines Matching refs:node
88 SCENE_NS::ILight::Ptr node;
89 ExecSyncTask([scn, nodePath, &node]() {
90 node = scn->CreateNode<SCENE_NS::ILight>(nodePath, true);
96 instance->SetNativeObject(interface_pointer_cast<META_NS::IObject>(node), false);
97 node.reset();
150 auto node = interface_pointer_cast<SCENE_NS::INode>(light);
151 if (node == nullptr) {
154 auto scene = node->GetScene();
158 scene->ReleaseNode(node);
167 if (auto node = interface_cast<SCENE_NS::ILight>(GetThisNativeObject(ctx))) {
178 auto node = interface_pointer_cast<SCENE_NS::INode>(GetThisNativeObject(ctx));
179 if (node) {
180 ExecSyncTask([node, &enable]() {
181 enable = node->Visible()->GetValue();
193 auto node = interface_pointer_cast<SCENE_NS::INode>(GetThisNativeObject(ctx));
194 if (node) {
195 ExecSyncTask([node, enabled]() {
196 node->Visible()->SetValue(enabled);
204 auto node = interface_pointer_cast<SCENE_NS::ILight>(GetThisNativeObject(ctx));
205 if (!node) {
209 colorProxy_ = BASE_NS::make_unique<ColorProxy>(ctx, node->Color());
215 auto node = interface_pointer_cast<SCENE_NS::ILight>(GetThisNativeObject(ctx));
216 if (!node) {
221 colorProxy_ = BASE_NS::make_unique<ColorProxy>(ctx, node->Color());
229 auto node = interface_pointer_cast<SCENE_NS::ILight>(GetThisNativeObject(ctx));
230 if (node) {
231 ExecSyncTask([node, &enable]() {
232 enable = node->ShadowEnabled()->GetValue();
243 auto node = interface_pointer_cast<SCENE_NS::ILight>(GetThisNativeObject(ctx));
244 if (node) {
245 ExecSyncTask([node, enabled]() {
246 node->ShadowEnabled()->SetValue(enabled);
255 auto node = interface_pointer_cast<SCENE_NS::ILight>(GetThisNativeObject(ctx));
256 if (node) {
257 ExecSyncTask([node, &intensity]() {
258 intensity = node->Intensity()->GetValue();
269 auto node = interface_pointer_cast<SCENE_NS::ILight>(GetThisNativeObject(ctx));
270 if (node) {
271 ExecSyncTask([node, intensity]() {
272 node->Intensity()->SetValue(intensity);