cesiumlab / cesiumlab/XbsjEarthUI

EarthSDK可以类似cesium加载点那种 建立一个父实体集来控制显示隐藏

Open
#56 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
734
Forks
193
PR merge metrics
No merged PRs in 30d

Description

var p = new XE.Obj.Pin(uia.earth);
var p2 = new XE.Obj.Pin(uia.earth);
p.position = [1.9748895674441815, 0.5216586947793432, 0]
p2.position = [1.9574436561344333, 0.5166830769150111, 0];
var g = new XE.SceneTree.Group(uia.earth)
g.children.push(new XE.SceneTree.Leaf(p));
g.children.push(new XE.SceneTree.Leaf(p2));
uia.earth.sceneTree.root.children.push(g)

![image](https://user-images.githubusercontent.com/13550568/70402337-fc9b1200-1a6d-11ea-8328-3f6ecb3a77b6.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the example using XE.Obj.Pin, XE.SceneTree.Group, XE.SceneTree.Leaf, and uia.earth.sceneTree.root. Trace how the group’s visibility is represented or changed, then define done as being able to toggle the parent group and have its child pins show or hide together.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.