オブジェクトとコンフォーム スペース ワープを作成しました。bindSpaceWarp を使用して、オブジェクトをスペース ワープにバインドしました。これを何度も行った後、「オブジェクト A をどのスペース ワープに割り当てたか」を知りたい場合はどうすればいいですか。
シーン内の既存のスペース ワープの従属関係を調べて、オブジェクトに影響しているスペース ワープを抽出できます。
例
fn getSpaceWarpByBinding theBinding = ( --Loop through all space warps in the scene for s in SpaceWarps do ( --Loop through all dependents of the current space warp --If the space warp is dependent on the supplied binding, return it! for o in refs.dependents s where o == theBinding do returns )--end s loop )--end fn --Example Usage: s = sphere() theSW = getSpaceWarpByBinding $Sphere001.modifiers[1]