You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I may be missing something but for the life of me I'm unable to assign the url property at runtime. I mean there are no errors thrown, but the url property remains null . The only time it works is when I assign a default value to the ref.
Do you have an example where the url property is assigned through a prop or queried at run time and the assigned to the Cesium3DTileset component?
here is an example that works only when the ref has an initial value (and that only value ever used even if I update the ref:
I may be missing something but for the life of me I'm unable to assign the url property at runtime. I mean there are no errors thrown, but the url property remains null . The only time it works is when I assign a default value to the ref.
Do you have an example where the url property is assigned through a prop or queried at run time and the assigned to the Cesium3DTileset component?
here is an example that works only when the ref has an initial value (and that only value ever used even if I update the ref:
interface IModelProps {
token: string;
imodelId: string;
position: Cartesian3;
name: string;
description: string;
}
export default function CADModel(props: IModelProps) {
const refUrl = useRef(STATION_URI);
}
The text was updated successfully, but these errors were encountered: