text stringlengths 0 8.81k |
|---|
Perform a recursive merge. |
Returns: |
The combined object containing all properties from both objects. |
Example: |
const object1 = { |
propOne : 1, |
propTwo : { |
value1 : 10 |
} |
} |
const object2 = { |
propTwo : 2 |
} |
const final = Cesium.combine(object1, object2); |
// final === { |
// propOne : 1, |
// propTwo : { |
// value1 : 10 |
// } |
// } |
createCommand(func, canExecute) |
widgets/Source/createCommand.js 17 |
Create a Command from a given function, for use with ViewModels. |
A Command is a function with an extra canExecute observable property to determine |
whether the command can be executed. When executed, a Command function will check the |
value of canExecute and throw if false. It also provides events for when |
a command has been or is about to be executed. |
Name |
Type |
Default |
Description |
func |
function |
The function to execute. |
canExecute |
boolean |
true |
optional |
A boolean indicating whether the function can currently be executed. |
createElevationBandMaterial(options) → Material |
engine/Source/Scene/createElevationBandMaterial.js 425 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.